Adding <span> & </span>
I use Notepad++ to edit my XHTML and CSS. Today I did a very similar thing you are asking about I think.
I did a find and replace search like this.
FIND: <p>(.*)</p>
REPLACE: <p><span>\1</span></p>
The (.*) is a wildcard search I believe so it found every instance in my XTHML page that started with <p> had text in between and then ended with </p> and replaced it with the <p><span> and </span></p>.
If you use them, don't forget to add the class after the p, for example <p class="bodytext">(.*)</p>
It worked for me and 99 changes were done in a little under a minute.
|