title: Regex strip all html tags excluding <br> & <a class='user'></a>
body: <p>I am relatively new to regex but my aim is to strip all html tags from a string excluding <code>&lt;br&gt;</code>s and <code>&lt;a&gt;</code> tags with the class='user'. I want to user this regex to clean unwanted html garbage from contentedittable fields.</p>
  
  <p>Hope one of you regex masters can help...</p>
  
  <p><strong>Here is an example to test on:</strong> <a href="http://gskinner.com/RegExr/?2tpai" rel="nofollow">http://gskinner.com/RegExr/?2tpai</a></p>
  
  <p>I think I'm close, but the closing tag of the a class='user' is currently still being selected as garbage when it is required.</p>