I am parsing HTML with this regex in javascript for selecting the attribute values on HTML elements:
/(\".+\")/g
It works fine when there is a single attribute, but when there are multiple attributes, like so:
<a href="#" class="button">See How</a>
it is matching from the first quote on the first attribute to the last quote on the second. How can I get the regex to identify the attribute values as separate matches?