How can I avoid a specific string pattern from being replaced by Regex.replace ()
- by Taz
I have a string like 
    Pakistan, officially the <a href="Page.aspx?Link=Islamic Republic of Pakistan">Islamic        Republic of Pakistan</a>
Now I am using
    System.Text.RegularExpressions.Regex.Replace(inputText, "(\\bPakistan\\b)", "something");
to replace Pakistan outside the  tags. But I don't want to replace Pakistan occurring within the <a></a> tags.