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

Find/Replace with Wildcard Equivalent

Tagged: ,

Return to Member Forum

  • Author
    Posts
    • #70220

      What do I type if I want to search for a wildcard letter, and then replace it with it’s value? For example, I want to find all iterations of “^$ and” and replace it with “^$, and”. So “last and” would become “last, and”

    • #70224
      David Blatner
      Keymaster

      Sorry, I’m not clear on what you’re trying to find. But I think the answer is: Put what you’re looking for in parenthesis, and then use $1 to call it back up.

      For example, look at the “Fun Tricks” section here: https://creativepro.com/favorite-grep-expressions-you-can-use.php

    • #70240
      Eugene Tyson
      Member

      ^ is beginning of a paragraph and $ is the end of the paragraph

      What you’re searching for is a paradox.

      Try searching for

      [?!.]$

      Replace with

      , and

      Please note – be careful!!!!

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