title: How to extract a float from a string after a keyword in python
body: <p>I have the following string from which I need to extract the value 14.123456 which is directly after the keyword airline_freq: (which is a unique keyword in my string)</p>
  
  <p>Please help find the correct regex (indexing m.group() doesn't work beyond 0)</p>
  
  <pre><code>import re
  s =  "DATA:init:     221.000OTHER:airline_freq:  14.123456FEATURE:airline_amp:   0.333887 more text"
  m = re.search(r'[airline_freq:\s]?\d*\.\d+|\d+', s)
  m.group()
  
  $ result 221.000
  </code></pre>