This is really a regular expression question opposed to a .NET but I can't see any forum that specialises in that kind of thing, so as I'm using ASP.NET I figured I'd post it here ;)
I have a string as such...
<ul> <li> <a href="Welcome.aspx">Welcome</a> </li> <li> <as href="About.aspx">About us</a> </li> </ul>
And I want to match each of the href="*" and replace them, however my regular expression skills are non-existant! I've got this far...
href=".*\.aspx" but that returns just one match:
Which isn't very useful... can anyone fix my regular expression?