Select only text strings in HTML
Bart Van Audenhove last edited by
I would like to use Notepad++ to change all accents (é, à, etc.) in a HTML doc to HTML codes (eg. é).
However, if I select all and then do Plugins > HTML tag > encode entities, also tags and parameters are encoded (eg. <h2 class=‘header’>List</h2> becomes <h2 class=‘header’>List</h2>).
Is there a way to select only the text strings within the tags? In one way or another Notepad++ recognizes this, because it displays these text strings in black, and the tags etc. in blue/red/…
Claudia Frank last edited by
you can use regular expression search and replace with a technique like described here.