I am having following code but unable to understand as to why no match is returned? What change do I need to make?
string temp = "qqqqqqqq<ahref=\"city.php?city=qqqqqqq";
Regex r = new Regex("<ahref=\"city.php?city=");
Match m = r.Match(temp);
The variable m doesn’t return a match.
Thanks
Varun
You did not escape the dot
.and the question mark?meta-characters.