I'm trying to remove some tags using the Find and Replace feature of Notepad++.

What I'm trying to remove for example is <num> and </num>. Right now I'd input <num> and replace it, then input </num> and replace that.

How can I do this in one shot?

Here I already found out how to remove class="???".

  • Are you absolutely sure you want to remove < num > and not <num>? – slhck Mar 13 '12 at 11:46
  • <num> is valid html, < num > would not work (at least not in modern browsers. – conspiritech Mar 13 '12 at 14:15
  • Rolled back. Sifr87, please check your formatting next time – it was right all along. – slhck Mar 13 '12 at 21:59

use the regex option and input </?num>

  • 1
    mark it solved so ratchet freak can get points then, please – conspiritech Mar 13 '12 at 14:03
  • @conspiritech Sifr87 will also get some reputation. :) – iglvzx Mar 15 '12 at 2:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.