HI,
Here is a snippet of an html page..
<a href='/index.html'>This is a link to another place</a>
Here is what I am trying to do..
Replace the letter 'a' with the following: "<font color='red'>a</font>"
I need to replace the letter 'a', only when it's not within the html tags.
This is what I tried..
$newline = s/[^<.*?]($pattern).*?[^>]/<font color='red'>$pattern</font>/g;
TIA for any help.
-Danial
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]