title: perl regex find & replace
body: <p>I am trying to remove some garbage js code on 4k+ webpages. The webpages have other js on the page as well so I need to only get rid of the JS with a particular function called clickIE.</p>
  
  <p>I have this one liner working until I introduce the regex...</p>
  
  <pre><code>perl -p -i -e 's|&lt;script(.*)&gt;.*clickie.*?&lt;\/script&gt;|&lt;\!--REMOVED-JS-CODE--&gt;|gixsm' ./*.html
  </code></pre>
  
  <p>My regex works correctly when tested at <a href="http://www.gskinner.com/RegExr/" rel="nofollow">http://www.gskinner.com/RegExr/</a> but fails on the command line...(fails meaning... the regex doesnt match anything)</p>