local a = "totalling 7,525.07"local res = string.match(a, '%f[%d]%d[,.%d]*%f[%D]'):gsub(",", "")print(res)
Standard input is empty
7525.07
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!