3 Replies Latest reply on Mar 22, 2010 7:41 AM by Howard Perlman

    Regular expressions: trying to clean up <h2> tag

    Howard Perlman

      Argh.. Trying all variations and not even close.


      I have many of these lines:

      <h2 title="This is a title">

      <h2 title="Here is another title">

      <h2 title="This file has a 3rd title">


      And I want to get rid of the title part and end up with all those lines being a regular <h2>:



      I tried things like

      <h2[ a-zA-Z]>



      Any suggestions?