Reply To: GREP find in between nuances

Home Page / Forums / General InDesign Topics (CLOSED) / GREP find in between nuances / Reply To: GREP find in between nuances

#14335729
David Blatner
Keymaster

Great suggestions here! It’s always awesome when the community makes suggestions like this, and there’s usually more than one way to do something, especially when it come to GREP.

Here’s another way:
Search for (#)([\w]+?)(#)
and replace with $2
That finds the number sign, followed by anything that is a word character or a space character, followed by a number sign, and then it replaces it with whatever #2 — that is, the words between the # symbols. You can then set the Find Format field to your italic style.

This article was last modified on February 3, 2021

Comments (0)

Loading comments...