title: Javascript - regular expression - how to skip search for a string that exists within a pattern
body: <p>In code below, using regex, how do we search and replace the "=" that is NOT found within &lt;> with ":"</p>
  
  <pre><code>'ABC=&lt;ATTR1 TEST="11"&gt;VALUE1&lt;/ATTR1&gt;'
  </code></pre>