2 Replies Latest reply on Jul 5, 2016 10:17 AM by Antonio Bertossi

    GREP style match characters after last full stop

    Antonio Bertossi Level 1

      Hello,

       

      I'm new the GREP styles and regular expression syntax, Hope to find an answer here!

       

      Consider the following:

      Sun 10am-4pm. Hourly tours. Pre-book ONLY on 020 7333 8712. Last tour 4pm. Max 12 per tour. T d

       

      The T and d that follow the last full stop need to be italicised (they are acronyms linked to a key in the document I am designing). How do I tell via regular expression (GREP) to match any character after the last full stop? In between line break and first encountered full stop? I can't get my head around :/

       

      Note:

      1. after the acronyms the paragraph always end
      2. T and d are not the only acronyms (consider this other example: T D R G E)

       

      Thank you!

      Antonio