Find the first occurrence with Regex
<p>I would like to be able to find the first occurrence of m² and then numbers in front of it, could be integers or decimal numbers.
<em>E.g.</em></p>
<blockquote>
<p>&quot;some text&quot; 38 m² &quot;some text&quot; ,</p>
<p>&quot;some text&quot; 48,8 m² &quot;some text&quot;,</p>
<p>&quot;some text&quot; 48 m² &quot;some text&quot;, etc..</p>
</blockquote>
<p>What I have so far is:</p>
<pre><code>\d\d,\d\s*(\m\u00B2)|\d\d\s*(\m\u00B2)
</code></pre>
<p>This right now finds all occurrences, although I guess it could be fixed with <code>findFirst()</code>. Any ideas how to improve the Regex part?</p>