2 Replies Latest reply on Sep 14, 2015 2:38 PM by Obi-wan Kenobi

    GREP with tables in text

    steverocket2 Level 1

      I have a problem, that someone migth have solved before:

       

      I have a GREP search that finds text between to markers:

       

      (?s)^(?i)(TEXT-111)(.*?)(TEXT-222)$

       

      TEXT-111

      Any Text here

      TEXT-222

       

      My GREP finds these blocks in the document. Now there are

      tables in the document.

       

      TEXT-111

      Any Text here TABLE

      TEXT-222

       

      And these tables give me headaches because they are not any character  (.*?) and therefore the grep will not find textblocks with tables.