New answers tagged

0 votes

How do I use PositiveLookbehind to match multiple strings in GREP styles?

It doesn't work because a lookbehind assertion has to be fixed width. Use this instead: \b(?<=[become]\s)(happy|sad|angry) \b for word boundary. \s for space, instead of . (which matches any ...
Farzan's user avatar
  • 1
0 votes

InDesign: Using GREP to style URLs, email addresses, phone numbers, social handles, and hashtags

I just use <(http|www)\S+ That seems to work for me.
Sarah Gillott's user avatar
0 votes

InDesign GREP code for find words between a full stop (.) and a colon (:)

If the period . might also be preceded by a word, as per your example, "somthing. Tone:" you might try this: (?<=[a-z.]\s)[\w\s]+: "Tone:" will be selected if your string looks ...
Farzan's user avatar
  • 1

Top 50 recent answers are included