Find all attributes and values of HTML tag
This regex will find all attributes, values, and the equal operator, as well as the white space between attributes. You can use this to extract all attributes to remove all inline styles.
Submitted by Demetri Ojeda - 9 years ago