Tex2002ans --
1. Thanks for the answer -- works great
2. And thanks for the explaination. Helps me to understand
3. And now .... a slight change to requirements
My fault -- your S&R works perfectly but it also changes things like this.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
into
Code:
<!DOCTYPE html PUBLIC "-//W3C//<span class="incaps">DTD XHTML</span> 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I can use the [Find/Replace] button if I have to, but it is a little tedious
I exerpimented with RegEx changes using !(<!) but no joy.
I also tried a 2 pass approach: your S&R, and then another S&R to un-do the
Code:
<span class="incaps">DTD XHTML</span>
Is it possible to avoid changing things like the example in the first place??
Paul