title: Notepad++: regex as replace
body: <p>I'm busy inserting my url aliases into a database. And need to make insert queries from the list of values i have.</p>
  
  <p>A few items from my list:</p>
  
  <pre><code>(NULL, 'tag=23525','2807016'),
  (NULL, 'tag=23525','10165'),
  (NULL, 'tag=23525','12165'),
  </code></pre>
  
  <p>I'd love to have a regex expression which can find tag=23525 and can replace it with the number behind it.
  So the list will end up looking like this:</p>
  
  <pre><code>(NULL, 'tag=2807016','2807016'),
  (NULL, 'tag=10165','10165'),
  (NULL, 'tag=12165','12165'),
  </code></pre>
  
  <p>I've managed to find the text tag=23525 (wow so hard). But i'm stuck with the finding (the replace) of the number behind.</p>
  
  <p>I can find the last number easily with this regex but can't replace with this regex:</p>
  
  <p><code>^[^,]*,[^,]*,[^,]*\b(\w+)\b</code></p>
  
  <p>How am i able to find and replace <code>tag=23525</code> with the match found from the regex?</p>