S
sfeher
Hi All,
I have a question regarding Regexp. The string that I need to change
is:
href="http://www.mysite.com/test1.html" ... href="/test2.html" ...
and this is what I would like to get after the replaceAll:
href="http://www.mysite.com/test1.html" ...
href="http://www.mysite.com/test2.html" ...
In other words, match all occurences of href=" that are not followed by
the http:// sequence.
I did look in the docs but could not figure out how to exclude a
string. Any ideas?
Regards,
Sebastian
I have a question regarding Regexp. The string that I need to change
is:
href="http://www.mysite.com/test1.html" ... href="/test2.html" ...
and this is what I would like to get after the replaceAll:
href="http://www.mysite.com/test1.html" ...
href="http://www.mysite.com/test2.html" ...
In other words, match all occurences of href=" that are not followed by
the http:// sequence.
I did look in the docs but could not figure out how to exclude a
string. Any ideas?
Regards,
Sebastian