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 – Any White Space – CS3

Return to Member Forum

  • Author
    Posts
    • #55140

      Just want to confirm what I’m seeing in Indesign CS3. The wildcards for Any White Space s does not select any other space than a regular space.

      Is there a way to search in IDCS3 for all kind of white space?

    • #55141
      Eugene Tyson
      Member

      Well I just tried a few different white spaces and

      s+

      Seemed to do the trick, this will also pick up soft returns and tabs though.

      You can try the White Spaces from the drop down menu in the GREP search.

      Separate them with a Shift which = |

      I can't post them because the browser converts them to spaces :(

    • #55142

      Eugene..

      s+

      Does not find space but the letter s (one or more time). The wildcard for any any white space is:

      s

      and in ID CS3 this will only find the regular white space. In CS4 the wildcard is working.

      I just want to avoid writing a list of OR definition.

    • #55143
      Eugene Tyson
      Member

      Sorry that should be backslash and s

      The backslash won't show up ?

      (backslash) s (without the space)

      then put a plus after it

      (backslash) s +

    • #55144
      David Blatner
      Keymaster

      That's interesting… If you choose Multiple Space to Single Space from the query pop-up menu in the find/change dialog box, it uses this expression to get all the spaces:

      … whoa! I cannot copy and paste that expression to here! Something about InDesign or the Mac OS clipboard converts the grep expression to a bunch of white spaces!… but you can see the expression by choosing that menu item in find/change.

    • #55145

      Exactly what I wanted to avoid… since in CS4 the single Any White Space is working. I guest that was a bug in CS3 that was fix/change in CS4.

    • #55146

      … whoa! I cannot copy and paste that expression to here! Something about InDesign or the Mac OS clipboard converts the grep expression to a bunch of white spaces!…

      Surprise, surprise! It's an Adobe thingy — it works the same on Windows. I bet it was some smarty pants programmer's Finest Hour, since it means if you use copy-and-paste between an ID document and the regular Find box or the GREP Find box it automagically translates any special character into the correct shortcut representation. (Try it: copy some special characters from your text into the Find box — here they become the circumflex thingies — and then paste them into the GREP box — they'll translate to tilde-something something.) And yes, it is a bit annoying if you try to copy something out of InDesign …

      JC, I'm having a hard time imagining s did not work at all in CS3. I'm pretty sure I've used it a few times. By the way, I recommend to not use it! I found its habit of also including the paragraph return totally unacceptable, so for just spaces, I use the slightly longer expression

      [ ~s~S~<~>]

      (and perhaps a couple more). The longer expression is not a problem because that's what “Save Search” is for :-D

    • #55147

      By the way, it seems I got that backslash right!

      Showing off: h e l l o \'s !

      (I guessed I had to insert them twice to see just one, and I guessed right. Heh heh heh.)

    • #55166

      Hello,

      If you are interesting about differences between Mac and Windows with InDesign CS3, you can read my blog about it : https://www.indigrep.com/index……vs-Windows

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