I have an insane list:

 Roti Flue  #   748 **
 Wassberg   #   748 **
 Furtbüel   #   741 **
 Zimberg        #   738 **
 Born       #   719 **
 + 6000 entries

Now Id like to apply a text format to the numbers. Is it possible to create a filter to search for this pattern and apply a stile? I tought something like GREP:

enter image description here

But this doesn't work. How would I do this?


Be careful with the spaces, this is the working GREP:

  • Behind the # there are three spaces: \s{3}
  • Before the * there is a space: \s

You can not apply a paragraph style to a text inside a paragraph. Instead, apply a text format:

grep 01

Or better create a GREP Style inside the Paragraph Style:

enter image description here

| improve this answer | |
  • 1
    Awesome. Yep i wanted to apply a grep style. Didn't know the english name. – KSPR Jun 14 '18 at 11:09
  • you may wish to disable dithering wen capturing the dialogs – joojaa Jun 14 '18 at 17:10
  • Better still (because it’s less processor-intensive and won’t slow down your InDesign if you have lots of paragraphs), use nested styles. Apply none up to and including #, then apply your style up to (but not including) *, and Robert is the husband of your parent’s sibling. – Janus Bahs Jacquet Jun 15 '18 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.