regex both numberic and numeric with one decimal place
<p>Using
<a href="https://regex101.com/r/ukjM5F/1" rel="nofollow">https://regex101.com/r/ukjM5F/1</a></p>

<p>My regex is:</p>

<pre><code>(?:'\d+[A-Za-z ]*)(\d+|\d+\.)
</code></pre>

<p>It uses the <code>g</code> (global) modifier.</p>

<p>How do I grab all the<br>
10<br>
12  </p>

<p>As well as<br>
2.5<br>
3.5?</p>

<p>Right now I'm stuck on how to grab the first decimal place (eg. 2.5)</p>

<p>I'm matching against this example string:</p>

<pre><code>['Table:     Waiter: kenny', 
 '======================================',
 '1      GRILLED AUSTRALIA ANGU    **29.00**',
 '----------------------------------',
 'TOTAL       29.00', 'CASH        29.00', 
 'CHANGE         0.00', 
 'Signature:__________________________', 
 'Thank you &amp; see you again soon!']


 ['1      Carrot Cake                **2.50**',
  '----------------------------------', 
  'TOTAL        2.50', 'CASH         2.50',
  'CHANGE         0.00', 
  '====================================',
  'Thank You and',
  'See You Again!']

 ['Table:     Waiter: kenny', 
  '======================================',
  '1      SAUSAGE WRAPPED WITH B    **10.00**',
  '1      ESCARGOT WITH GARLIC H    **12.00**',
  '1      PAN SEARED FOIE GRAS      **15.00**',
  '1      SAUTE FIELD MUSHROOM W     **9.00**', 
  '1      CRISPY CHICKEN WINGS       **7.00**',
  '1      ONION RINGS                **6.00**',
  '----------------------------------',
  'TOTAL       59.00', 'CASH        59.00', 
  'CHANGE         0.00', 
  'Signature:__________________________',
  'Thank you &amp; see you again soon!']


['1      Carrot Cake                **2.50**', 
'1      Chocolate Cake             **3.50**',
'----------------------------------', 
'TOTAL 
6.00', 'CASH                          
6.00', 'CHANGE         0.00', 
'===================================='
, 'Thank You and', 'See You Again!']
</code></pre>

<p>To get only the price of a menu item use:</p>

<pre><code>(?:[a-zA-Z]+\s[a-zA-Z]+\s+)(\d+\.\d\d)(?:')
</code></pre>

<p><a href="https://regex101.com/r/ukjM5F/5" rel="nofollow">https://regex101.com/r/ukjM5F/5</a></p>

python regex