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 find and replace with part of Found Text

Return to Member Forum

  • Author
    Posts
    • #104503
      Anonymous
      Inactive

      I want to find only the space between the name and number Example: “Name surname 21” (so i want to find the space between surname and 21 only) and replace it with a non breaking space.
      If i use
      ^9
      and replace it with
      ^S^9

      it replaces both the space and the first digit, making it “Name surname ^91”
      thus replacing the 2.

    • #104504
      Graham Park
      Member

      Try GREP
      find
      ()()(\d)
      replace
      $1~S$2

      • #104506
        Anonymous
        Inactive

        Thank You!
        I used

        find
        ()()(\d)
        replace
        $1~S$3

        and it worked! saved me an entire day of manual work

    • #104505
      Graham Park
      Member

      Yo can also use the find to apply a NO BREAK CHARACTER style which will also do the job

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