Hi-
I'm completely stumped. I'm trying to write some code that will parse
a file and rewrite it with all URLs replaced by something else.
For example: if the file looks like this:
<b>click here</b><a href="http://www.cnn.com">click me</a>
... then the output should be this:
<b>click here</b><a href="http://mysite?myurl=www.cnn.com">click
me</a>
Anyhelp on how to accomplish such thing would be really appreciated -
I spent hours on this and I'm completely stuck.
TIA,
JJ