468,484 Members | 1,859 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

RegEx Replace

I'm trying to replace a URL with another one, but am having a problem with
the RegEx code:

HTML = Replace(HTML, "href=['""]page.html",
"http://www.domain.com/page.html")

The problem is href= is being replaced too, but I need it to stay.

Anyone know the proper way of doing this?
Nov 20 '05 #1
0 634

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by bill tie | last post: by
6 posts views Thread by tshad | last post: by
17 posts views Thread by clintonG | last post: by
9 posts views Thread by Whitless | last post: by
4 posts views Thread by Morgan Cheng | last post: by
15 posts views Thread by morleyc | last post: by
reply views Thread by Karch | last post: by
2 posts views Thread by gieforce | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.