title: ruby on rails regular expression find and remove tags between tags in html string
body: <p>I'm working in ruby on rails and need the following: </p>
  
  <p>remove all "br" html tags between "code" html tags in a string of html. The "code" tags might occur more than once.</p>
  
  <p>Now, it's not screen scraping I'm trying to do. I have a blog and would like to allow people to use the code html tags only in the comments. So when formatting the string I normally use simple_format but I'd like it to ignore code html tags.</p>
  
  <p>Thanks in advance.</p>