So I\'ve got a big text file which looks like the following:
This will remove the option
tag and just leave the letters in vim:
:%s/<option.*>//g
In notepad++
Search
(<option value="\w\w">)\w+">(.+)
Replace with
\1\2
Having the same problem (with jQuery " done..." strings), but only in Notepad++, I asked, received good friendly replies (that made me understand what I had missed), then spent the time to build a detailed step-by-step explanation, see Finding Line Beginning using Regular expression in Notepad++
Versailles, Tue 27 Apr 2010 22:53:25 +0200
In Notepad++ you don't need to use Regular Expressions for this.
Hold down alt to allow you to select a rectangle of text across multiple rows at once. Select the chunk you want to be rid of, and press delete.