Quote:
Originally Posted by cybmole
that is easy
find
<p class="para c2">(.*)</p>
replace
<p class="para"><span class="italic">\1</span></p>
but having span in the replace is superfluous
so
replace
<p class="para" "italic">\1 </p>
is neater
PS so in fact why bother - just define class c2 to mean italic & you are done!
|
You DO NOT enclose additional styles in additional quotes (see many styles with SGC-# as examples)
Code:
<p class="para italic">
is the proper way to write it.
Pay attention to the order if there are
updated elements.
Just to be clear: You are removing C2 class and substituting italic class?
Maybe all you needed to do was add/adjust the c2 class in the style sheet.
(if it was used only in these cases)