6,606548
Grand MasterGrand Master
6,606548

    Aug 26, 2011#16

    Is that really impossible? What about combining both. Let's say you have the words INNERTAG, TEXTTAG, BLOCKTAG and ANEXTREMLYLONGTAG.

    An expression like [ABIT][ELN][ENOX][CETX][RKT]++[EGLMNORY]++TAG matches all of them, and also many other strings. But perhaps no other strings are found in the larger context.

    10
    Basic UserBasic User
    10

      Aug 26, 2011#17

      That would work if every TAG ended with "TAG" -- but they do not. They are arbitrary strings.

      6,606548
      Grand MasterGrand Master
      6,606548

        Aug 26, 2011#18

        If there is TAG or a space/tab required after optional string part does not matter. I could really help you more easily when you would provide a real data file.

        10
        Basic UserBasic User
        10

          Aug 26, 2011#19

          There are over 50 such tags -- I can probably take it from here -- didn't want to be a nuisance.

          Read more posts (-11 remaining)