Copy link to clipboard
Copied
Anyone know how to keep names together when listed by separated commas? My client doesn't want names broken over lines. There are 200 pages of listings so it's really time consuming to put soft returns or no breaks in manually.
Tried using Greps but didn't seem to work - or at least I was doing it wrong...
Please help!!!
Setup a character style and call it No Break.
Select the No Break and ensure it's ticked in the Character Style
Create a paragraph style for list names
The GREP expression for any text between 2 commas
(?<=, ).+?(?=,)
Apply the List paragraph style to all your paragraphs of text with names.
Copy link to clipboard
Copied
Setup a character style and call it No Break.
Select the No Break and ensure it's ticked in the Character Style
Create a paragraph style for list names
The GREP expression for any text between 2 commas
(?<=, ).+?(?=,)
Apply the List paragraph style to all your paragraphs of text with names.
Copy link to clipboard
Copied
Thank you so much! I already had the character style set up so was on the right track, but just didn't know what the expression was.
You've saved me!