Greetings:
Assuming that AT&T Mike is the default voice, the following regex changes the default voice based upon the byline it encounters:
(?#ByLine_1_LookAhead)(?m)(?=(?:.*?)\r?\n\s*?By Melissa Sanchez\s*?$)
<voice required="name = Crystal16">
<< Start of Sample Text >>
Yahoo! Breaking News Sunday, July 1, 2012, 9:26 PM PDT
By Melissa Sanchez
Mexico preliminary count: PRI's Enrique Pena Nieto wins presidency, old guard to return
<< end of Sample Text >>
The regex works on the sample text but it spells out everything up to By Melissa Sanchez, then reads the rest of text as would be expected.
A second regex (immediately below) works without spelling out the text but uses AT&T Mike up to By Melissa Sanchez, then switches to Crystal:
(?#ByLine_2_LookAhead)(?m)(?:.*?)\K(?=\r?\n\s*?By Melissa Sanchez\s*?$)
<voice required="name = Crystal16">
Is it possible to get the first regex not to spell out the text before it reaches By Melissa Sanchez?
