471,059 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,059 software developers and data experts.

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 653

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.