Curious Expatriate wrote:
If I'm not mistaken, it's a string added to a string.> Hi-
> I'm completely stumped. I'm trying to write some code that will p
> 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
//define the website url
// strip the text http:// (7 characters)
//put it correctly together
Should do what you want, right?
Registeret Linux user #292411