Notepad++ Regular Expressions – Search and replace
Few days ago I had to do some work on a HUGE geojson file. There was many mistakes and I just couldn’t use it. In order to make it work I had to manually fix those mistakes, but as soon as I started I realized that it would take me ages. So I started looking for possible ways to automate this repetitive task. I thought about the macro function that Notepad++ has and that I used successfully in the past but unfortunately I couldn’t use it this time. The data in the file many times wasn’t in the correct order. So I started looking at “find and replace” with the help of regular expressions. I found this amazing post from 2008 which really helped me. If you are in a similar situation I strongly recommend to read it.