I have a document that includes a list of people with names, titles, phone numbers and e-mail addresses (the list is bulleted, but I didn’t feel like figuring out the HTML for that):
John Doe, Project Manager, (555) 555-5555, johndoe@acme.com
I have set up a paragraph style for this list that includes a nested style that applies a Bold Blue character style to the person’s name, and also includes a GREP style that applies the No Break character style to e-mail addresses. I used the “More Robust E-mail” GREP expression that David lists in his “Favorite GREP expressions You Can Use” article. (I tried to duplicate it here, and it kicked me out of the forum)
This seems to work well when I apply it to previously typed text, but if I attempt to add another line to the bulleted list, the additional text is all formatted with the No Break character style. How do I make the GREP style stop at the end of each paragraph?
If anyone answers, I would really love it if you could explain why I am having this issue, and how your new expression fixes the problem–I am really green with GREP, and would love the opportunity to learn from this.