5 Replies Latest reply on Jun 3, 2014 11:44 AM by Obi-wan Kenobi

    GREP Expression help

    alfordjb

      I am new to using GREP and have a find/replace scenario that I'm having trouble with. I have a list of names with middle initials, but no period. I'd like to find the capital middle initial and replace it with the found text, plus a period. I have previously been able to find the middle initial by searching for a space, then any uppercase letter, followed by another space. The problem come in the replace. When I replace with the found text, it adds the space that was found after the capital letter before the period that I am trying to insert. How can express this so that it looks for the space after the capital for the find, but in the replace, puts the space behind the period?