The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20130629

regex code for "remove duplicate lines" in geany

if you have duplicate lines in a text file, in this format:
line 1
line 1
line 2
line 2
...
...

this regexp code will remove the duplicate lines:

search: (.*)\n\1
replace: \1\n

regular expression syntax for geany

No comments:

Post a Comment