8 Replies Latest reply on May 17, 2012 8:58 AM by nathan@techniks

    GREP Expression for Varying Text


      I have an index in which I'd like to Find/Change all the entries with a character style, but stop the GREP expression before the tab, leader, page numb. They vary though. Here are 3 indexed examples:
      B-20-22-50-3/4 shank

      Is there any way to constrict this to just the characters and digits, then stopping before the tab? I achieved it in another index whose entries are 7-digits only with this expression: ^(\d+)


      The return constricted it so that search did not find the page numbers after the tabs.