Regex
Public
Extract Numbers from Text
Find integer and decimal numbers inside a string.
#regex
#numbers
#text
#extract
Regex
\d+(?:\.\d+)?
Notes
This matches 12 and 12.5. It does not handle negative numbers.