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 question

Return to Member Forum

  • Author
    Posts
    • #55653

      How can I select any comma that is preceded by at least 14 uppercase,lowercase letters and/or spaces

      I can do it with a positive lookbehind for 14 but can't figure out the syntax for 14 OR MORE

      Thanks

    • #55654

      Lookbehind does not accept variable length arguments — you cannot use “+”, “?”, “*”, or any value x other than n in “{n,[x]}”. You can only group together multiple fixed-length lookbehinds like this:

      ((?<=[ul ]{14})|(?<=[ul ]{15})),

      But I don't think it's necessary — if you already found 14, why would you want to test if there are even more?

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