title: regex match string replace in new string (notepad )
body: <p>In Notepad++ I need to match "dog" (search) in</p>
  
  <pre><code>&lt;tag&gt;old-string/dog.swf"&gt;more-old-string&lt;/tag&gt;
  </code></pre>
  
  <p>then use a back-reference (\1) to include it in another string (replace):</p>
  
  <pre><code>new-string_\1&gt;more-new-string
  </code></pre>
  
  <p>to give the result</p>
  
  <pre><code>new-string_dog.swf"&gt;more-new-string
  </code></pre>
  
  <p>I'm new to regex, so please show me how to do this first by matching "dog", then by excluding all old-string in the result.</p>
  
  <p>Edit: I realize this might be confusing, so I posted the actual problem here: <a href="https://stackoverflow.com/questions/13915475/regex-find-word-in-string-replace-word-in-new-string-using-notepad">regex find word in string, replace word in new string (using Notepad++)</a>. I hope it makes more sense.</p>