ruby regex evaluation via the puts command, returning both position of match and the match.  *requires both the Linux subsystem and that you sudo apt-get install ruby first. #include<WinAPIFiles.au3> _WinAPI_Wow64EnableWow64FsRedirection(FALSE) $proc = runwait('c:\Windows\System32\cmd.exe /c "bash testruby.txt" > testout.txt') msgbox(0, '' , stringregexp(fileread('testout.txt') , "(\A\d+?)" , 3)[0] & @CR & stringregexpreplace(filere