title: How to allow specific delimiters in between numeric pattern
body: <p>I have a big Java regex pattern composed of multiple subpatterns concatenated by OR (<code>|</code>). I want to allow multiple delimiters anywhere in between the numbers.</p>
  
  <p>For example, I have the following pattern <code>"(3[47][0-9]{13})|(56022[1-5][0-9]{10}|(5610)[0-9]{12})"</code>. How do I allow the following delimiters: equal to (<code>=</code>), backslash (<code>\</code>), dot (<code>.</code>), hyphen (<code>-</code>) and white space (<code></code>).</p>
  
  <p>These delimiters can appear anywhere (except start and end) and any number of times in between the numbers which match the numeric pattern.</p>