title: Notepad++ Dynamic Replace
body: <p>I need to replace this line:</p>
  
  <pre><code>tvec.at(21).interrupt();
  </code></pre>
  
  <p>with this line:</p>
  
  <pre><code>if (thr_ev_21.get()) thr_ev_21-&gt;interrupt();
  </code></pre>
  
  <p>I have lots of these lines at different numbers (i.e. 22, 23, 24, etc.)</p>
  
  <p>Is there a way in Notepad++ (v7.5.3) to replace dynamically like so:</p>
  
  <pre><code>tvec.at(X).interrupt();
  </code></pre>
  
  <p>--></p>
  
  <pre><code>if (thr_ev_X.get()) thr_ev_X-&gt;interrupt();
  </code></pre>