Regular Expressions 101

Community Patterns

Replace comma separated decimals (comma instead of point)


Regular Expression
ECMAScript (JavaScript)



Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way)

Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)

Submitted by Bruno A. Castro - 9 years ago