I am trying to match an attribute to I can do a search/replace. I am having trouble though because it is matching beyond the quotes of the attribute I want. For example, I want to remove xref="..." from here:
<a href="page.ashx" xref="somethingelse" title="something" class="image">
But when I do a RegEx like this: xref=\".*\", then it selects the attributes xref, title, AND class. How do I tell it to only select the xref attribute?