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 help

Return to Member Forum

  • Author
    Posts
    • #58791
      muhakan
      Member

      Hi gays,

      I need some help to find GREP code that changes any white space or more to single white space, but it should do it for every single line, avoiding the line breaks.

      Thanks in advance.

    • #58792

      “Gay” is definitely something else than what you probably meant: “guy” :) (no offense, though).

      It's possible to find each specific kind of white space — the regular space, the tab character, the fixed spaces (there are two of them), the hard return and the manual line break, and even every single kind of “fixed width” space (en, em, thin, hair, punctuation, digit … did I forget one?).

      InDesign comes with a standard set of GREP queries, and one of them is “Multiple Space to Single Space”. This looks for each of the 'normal' spaces I list above, and replace them with a single regular space. This does not include regular Paragraph Returns and Forced Line Breaks. Is that what you are after?

    • #58794
      muhakan
      Member

      Thank you Jongware,

      Sorry for the misspelling :P

      Actually I forgot to look on the existing presets…

      Thanks for the help!

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