title: Find and replace in atom with regex
body: <p>I have bought theme that includes too many things like this:</p>
  
  <pre><code>$(".search-toggle").click(function() { ...
  </code></pre>
  
  <p>However the function wont get fired since I am using AngularJS components and the actual <code>search-toggle</code> class is found in a nested page.
  The only way to reach it and make it fired is like that:</p>
  
  <pre><code>$(document).on('click', '.search-toggle', function() { ...
  </code></pre>
  
  <p>As I said there tons of such things and I either do not find efficient and fast way to switch from the first method I wrote to the second.</p>
  
  <p>Note: I do not know the actual name of the required class - thats why I need regex in here so it will be applied for all of such cases.</p>
  
  <p>Just for that example I have used <code>search-toggle</code></p>
  
  <p>I only found to make it manually but it would take lot of time - and maybe I face such a thing again in the next theme I will buy.</p>
  
  <p>If you know something or maybe know some other fix for this that could be just awesome. Maybe a plugin for Atom.</p>
  
  <p>I have tried find at Google but nothing founds.</p>
  
  <p>Thanks.</p>