alternatively you can usually make the pattern more specific, by including preceeding or following tags, so that head does not match.
can you give an example of a pattern in both head & body that you could be changing , please
actually , I am confused, because every xhtml file has a head, are you using replace all , but restricted to current file only? if you are only editing a single file, then surely step through is no big deal & is very safe ?
|