I am trying to use Regex to grab a substring of a large string. The overall string has certain text, 'cow/', then any number of characters or spaces that are not digits. The first digit hit is the start of the desired substring I want. This desired substring consists of only digits and periods, the first character or space seen that is not a digit or period indicates the end of the desired substring.
For example: 'cow/ a12.34 -123'
The desired substring is '12.34'.
So far I have this regex that partially works (I think the '| .' is not entirely correct): (?<=([A-z]|[0-9])/\s*).?(?=\s[^0-9 |.])
Thanks in advance.