title: REGEX: Grabbing everything until a specific word
body: <p>ex: <code>&lt;a&gt;&lt;strike&gt;example data in here&lt;/strike&gt;&lt;/a&gt;</code>  </p>
  
  <p>I want everything inside the a tag, to the end </p>
  
  <pre><code>/&lt;a&gt;([^&lt;]*)&lt;\/a&gt;/
  </code></pre>
  
  <p>It works when there are no additional tags within the <code>&lt;a&gt;</code> tag, but what if there are? </p>
  
  <p>I want to know if you can tell it to grab everything up to <code>[^&lt;/a&gt;]</code> instead of <code>[^&lt;]</code> only.</p>
  
  <p>Doing it with <code>/&lt;a&gt;(.*)&lt;\/a&gt;/</code> doesn't work well. Sometimes I get everything in the <code>&lt;a&gt;</code> tag and other times I get tons of lines included in that call.</p>