Again, since I wanted to find all the 'class="SOMETHING"', 'id="SOMETHING"' and 'style="SOMETHING"' I needed a good match for "SOMETHING". After messing around for a little while I came up with this:
(class|id|style)="[^"]+"
The first part (class|id|style)
say's: match 'class' or 'id' or 'style', that's pretty easy.
The second part: ="[^"]+"
is a little more confusing. It says match ="SOMETHING" where something has no quotation mark(s) in it [^"] is the SOMETHING.