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 change periods between numbers to commas

Return to Member Forum

  • Author
    Posts
    • #14394657
      Dylan Van Elewyck
      Participant

      Hello,

      I hope someone can help me with the following.

      I am looking for a GREP Code in which it is possible to achieve this:
      “55.6 × 46.8 cm” to “55,6 × 46,8 cm”

      The periods can only be changed within the measurements and not in other numbers consisting of periods.

      Thank you very much.

      Kind regards,
      Dylan

    • #14394659
      Dhafir Photo
      Participant

      Use this:
      in Find: ×\d+\K\.|\.(?=\d+×)
      in Change: ,

    • #14394660
      Dylan Van Elewyck
      Participant

      Great, thank you very much!

      All best,
      Dylan

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