title: NotePad++ replace problem
body: <p>I have a file with lots of text editing using NotePad++. </p>
  
  <p>for example</p>
  
  <p><code>&lt;span class="italic"&gt;some text&lt;/span&gt;&lt;span class="bold"&gt;another text or some text&lt;/span&gt;</code></p>
  
  <p>I would like to use NotePad++'s regex replace to replace </p>
  
  <p><code>&lt;span class"italic&gt;some text&lt;/span&gt;</code> to <code>&lt;i&gt;some text&lt;/i&gt;</code> and <code>&lt;span class="bold"&gt;another text or some text&lt;/span&gt;</code> to <code>&lt;b&gt;another text or some text&lt;/b&gt;</code></p>
  
  <p>I'm able to match the span text however How to replace them with NotePad++</p>
  
  <p>Find <code>&lt;span class="italic"&gt;text12312&lt;/span&gt;</code> and replace it with <code>&lt;i&gt;[a-zA-Z]*&lt;/i&gt;</code> will actually put the <code>"[a-zA-Z]*"</code> text into replaced string and not <code>"text12312"</code>.</p>