2 Replies Latest reply on Dec 17, 2014 2:35 PM by rboehl

    Grep String Help

    rboehl

      So I'm trying to create GREP styling to help making a project faster.  I'm trying to have everything between a period and a comma character styled, or between a period and the word 'by or at'

       

      This is what I have so far:

       

      (?<=\.).+?(((\s)(?i)by(\s))|((\s)(?i)at(\s))|(?=,))

       

      My issue is that a date sometimes appears, Dec. 2, and because it's between the period and comma it gets the character style. How can I eliminate that, or tell it to ignore digits or make it only do it to one or more words?

       

      Help!