Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Help with StringRegExp

$
0
0

I'm trying to find the last decimal number from a text file.  Problem is that the array that is returned will return multiple values, but only from the first line in which they occur, not from additional lines in the file.

$tmpTxt = "tmptxt.txt" $aFile = FileOpen($tmpTxt) $file = FileRead($aFile) $regex = StringRegExp($file,'([0-9]{1,5}\.[0-9]{2})(.*)', 1)

Thanks for any help you can provide.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>