Removing HTML tags in Notepad++

2

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="???".

Sifr87

Posted 2012-03-13T11:07:48.603

Reputation: 21

Are you absolutely sure you want to remove < num > and not <num>? – slhck – 2012-03-13T11:46:19.837

<num> is valid html, < num > would not work (at least not in modern browsers. – conspiritech – 2012-03-13T14:15:54.460

Rolled back. Sifr87, please check your formatting next time – it was right all along. – slhck – 2012-03-13T21:59:28.597

Answers

3

use the regex option and input </?num>

ratchet freak

Posted 2012-03-13T11:07:48.603

Reputation: 2 764

1mark it solved so ratchet freak can get points then, please – conspiritech – 2012-03-13T14:03:37.983

@conspiritech Sifr87 will also get some reputation. :) – iglvzx – 2012-03-15T02:53:28.167