title: Regex to match number or specific string (i.e. "all")
body: <p>This sounds simple but my regex knowledge is limited.</p>
  
  <p>I need an expression to match a decimal number or the string "all", as in a range validator that allows the word all represent the max range.</p>
  
  <p>I thought something like this might work:</p>
  
  <pre><code>((^[-+]?\d*\.?\d*)|any)
  </code></pre>
  
  <p>But the above doesn't work for "any".</p>