Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a QA style article where a question is posed, then answered.

Community News: How are you today?
Tom: I'm doing great!
CN: I'm doing well today. Thanks for asking.

I'd like to apply a grep style to each of the interviewers questions, but I haven't figured out how to apply the style to the entire paragraph.

The below grep finds the specific words and applies the style, but nothing I've tried applies the style to the entire paragraph

^(Community|CN:)
share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

I found it shortly after I posted the question. Here's the GREP

^(Community.+?\r|CN:.+?\r)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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