I'm writing a regex that will parse the string below and STOP exactly at 6.0s. This number, 6.0s, could also be a series of digits like 150 or a decimal like 12.35. "s" can be any letter. The stopping point is the most important
Here's my regex: [\S+\s]+[\d.\d]+[a-z]?
My problem is that my regex keeps passing 6.0s and copying the the dash line all the way to "See"
15+MM {NXTW FHR 3153 AB MABXT YT 197-17 <PA>} | APE 6 6.0s
------------------------------------------------------------
© Copyright 2012 The Boston Series Group, Inc. All rights reserved. See
str.partition?"15+MM ... 6.0s"as the result?15+MM to 6.0s