I'm new to regular expressions, I'll start with that to downplay any stupidity that may follow...

Code:
\s(\w|:)+=\"[^"]*\"
I wrote that to detect (something)="(something or nothing)" with the intention to use it to remove atributes from html tags.

But what if I wanted to match all but href attributes? I can't figure out how it's done.

Any help would be great.