I'm trying to set up a GREP style that will style a 3 digit code (example 789) but not apply that style when the code is followed by the characters ct.
So the style would apply to the 100 in "100 Halo" but not to the 120 in "120 ct"
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityThis is the GREP:
\d{3}(?!\sct)
All the numbers \d
repeated three times {3}
(
excepting those ?!
followed by a space \s
and the characters ct
)