Skip to content

Instantly share code, notes, and snippets.

@LuisSevillano
Last active October 30, 2019 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuisSevillano/379d4ba4ec2928b1b68fc9904d4299c2 to your computer and use it in GitHub Desktop.
Save LuisSevillano/379d4ba4ec2928b1b68fc9904d4299c2 to your computer and use it in GitHub Desktop.
Regex to replace commas to points in gedit

How to use a regex to replace commas with points using gedit: Having a csv like following:

c,m,p2019,p2016,p2015,p2011
w,x,"75.74","77.50","74.98","78.14"
g,f,"76.80","71.99","71.97","77.75"
i,b,"69.41","64.28","62.95","69.20"
b,h,"80.00","77.41","74.58","80.13"
$ (\d{1,2}),(\d{1,2})
$ \1.\2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment