Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

GREP code to find single character P or p but not p. or P.

Return to Member Forum

  • Author
    Posts
    • #14388087
      Tofik Tamboli
      Participant

      Hi Experts,

      I want to search only P letter either it is upper case or lower case but I don’t want to search p. or P. (P letter followed by period)
      I am trying below GREP code but it is not working. it is finding p followed by period too.

      (p|P)

      please help.

    • #14388089
      Dhafir Photo
      Participant

      Try this:
      \<(?i:p)\>(?!\.)

Viewing 1 reply thread
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads