dimanche 31 mai 2015

How to delete lines between 2 line patterns using regex?

So I have a file like:

    FLAGSHARE
    xxxxxx
    xxxxx, 1 2015

    words....

    FLAGSHARE
    xxxxxx
    xxxxx, 2 2015

    words....

    FLAGSHARE
    xxxxxx
    xxxxx, 3 2015

    words....

etc.etc.

How would I be able to delete the three lines FLAGSHARE, xxxxxx, xxxxx, * 2015 (essentially remove FLAGSHARE, 2015 and lines between FLAGSHARE and 2015) using Notepad++?

Aucun commentaire:

Enregistrer un commentaire