Find comment lines and delete them

Find comment lines and delete them

1
NewbieNewbie
1

    Jan 03, 2005#1

    Hi,

    I am trying to find/replace comments notes in files. I have read all forum to help me out, but I was able to achieve it. Can you help.

    Here the lines that I want to find/replace with blank space:

    <!-- comments for the files --> the comments are not all the same but start always with the same key words.

    I tried the following:

    ^{<!--[0-9, a-z]^}^$

    Regards

    6,686585
    Grand MasterGrand Master
    6,686585

      Jan 06, 2005#2

      The following expresions are all in UltraEdit style. Read help of UltraEdit about regular expression for details.

      To delete everything after <!-- in the same line use <!--*$.

      To delete only everything between <!-- and --> in the same line use <!--*-->.

      And finally to delete everything between <!-- and --> also over multiply lines use <!--[~!]+-->.

      Choose the one best for your files.
      Best regards from an UC/UE/UES for Windows user from Austria