#include <StringConstants.au3> ; to declare the Constants of StringRegExp
#include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate
Local $sRegex = "[^0-9.]"
Local $sString = "3040.302" & @CRLF & _
"$15,405.20" & @CRLF & _
"10.10,10.8,-10.9" & @CRLF & _
""ele10.34.5642"" & @CRLF & _
""104fflkd104.35 df10dw4.70"" & @CRLF & _
""$10,000,000.04""
Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYFULLMATCH)
; Present the entire match result
_ArrayDisplay($aArray, "Result")
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm