I'm not sure exactly what you want to do...
Do you want to replace all of the marked a's:
On Fri, 24 Aug 2001, Danial Magid wrote:
>
> <a href='/index.html'>This is a link to another place</a>
^ ^ ^
or do you just want to replace the word 'a'?
If you just want to replace 'bare' a's then this might work:
$newline =~ s!\s+($pattern)\s+!<font color="red">$1</font>!g
Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- replacing text, excluding what's between tags. Danial Magid
- Christopher Solomon
