I want to strip a 4000-line HTML file from all the jQuery "done" attributes in a div.
I like Notepad++ too but the regexing is really a pain. If you insist on using Notepad++ try this:
done[0-9][0-9]*=\"[0-9][0-9]*\"
with the empty string (be sure to put
a single space before the regex
expression)Voila! Not very nice n clean but it works ;o)
After that if you want it human-readable again you could use the HTMLTidy functions