2 Replies Latest reply on Feb 22, 2013 7:03 AM by Nownow57

    GREP request error


      Hi everyone,



      I am sorry to bother you but I need your help concerning a grep request which don't really work.

      I am trying to find all the terms "eg", "e.g", "eg.", "e.g.", "e.g., " and "e.g.," and replace them by "e.g.,"



      Here is the Grep request : (e)(.)?(g)(.)?(,)*\s*

      which is replaced by : e.g.,~s



      But my problem is that the request also finds terms containing in words like "regex" and I don't understand why … where is my mistake ? I tried to use the terms \< and \> to delimitate the beginning and the end of the word but if I do this, the comma and dots aren't selected …



      Thank you in advance for your help.