Reply To: Grep code to select number with bracket and next word

Home Page / Forums / General InDesign Topics (CLOSED) / Grep code to select number with bracket and next word / Reply To: Grep code to select number with bracket and next word

#14323594
Paul Williams
Participant

If you want it to work for letters and numbers switch the \d with \w at the front: (the 1,2 checks for numbers with 1 or 2 numbers i.e. 1 or 12 and if you need to cover 3 digit numbers change 1,2 to 1,3)

\w{1,2}\)\w+|\w{1,2}\.\w+

This article was last modified on December 10, 2019

Comments (0)

Loading comments...