Regular expression that matches positive double number with/without parentheses <p>I'm trying to find out the regular expression that could match any double number between parentheses or without them. These would two examples of numbers that should match:</p> <pre><code>(0.5) </code></pre> <p>Or, </p> <pre><code>0.5 </code></pre>