title: Regex to find first tag
body: <p>I use Notepad++, and I need to find the tags</p>
  
  <pre><code>&lt;font face="arial" size="4"&gt;
  </code></pre>
  
  <p>till</p>
  
  <pre><code>&lt;/font&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;font face="arial" size="4"&gt;(.*)&lt;/font&gt;(.*)&lt;/td&gt;
  </code></pre>
  
  <p>but it finds all starting from the first line to the last line.  But I need it to find the first match of the first "font face" with its adjacent or closest /font/td tag, and then find the next in the same text.. etc.</p>
  
  <p>Example text:</p>
  
  <pre><code>&lt;font face="arial" size="4"&gt;text text text...sdfklj@skdjhgls:d&lt;/font&gt;&lt;/td&gt;
  
  &lt;font face="arial" size="4"&gt;some text&lt;br /&gt;
  any more text
      &lt;/font&gt; &lt;/td&gt;
  
  morel;owkjdgkd dhfksg h
  
  &lt;font face="arial" size="4"&gt;some text&lt;/font&gt;&lt;p&gt;
  more text&lt;/font&gt; &lt;/td&gt;
  </code></pre>
  
  <hr>
  
  <p>Then I need to replace the two tags with:
  the first with</p>
  
  <pre><code>&lt;span style="font-size: 14pt; font-family: Times; lang=en-us"&gt;
  </code></pre>
  
  <p>and the second with:</p>
  
  <pre><code>&lt;/span&gt;&lt;/td&gt;
  </code></pre>