With the Regex \s-\s.*:\s I successfully match the following:
22/12/2015, 17:31 - Dr. Peper: My Message 22/12/2015, 17:01 - Frank: MESSAGE MA MA MA MA asdf aysfjsfdl asdfoasdf 22/12/2015, 17:18 - Sepp: MESSAGE ----- XXX 22/12/2015, 17:31 - Dr. Peper: My Message
However, now I want to exclude the string "Dr Peper" from the matching. How can I get the following as a result?
22/12/2015, 17:31 - Dr. Peper: My Message 22/12/2015, 17:01 - Frank: MESSAGE MA MA MA MA asdf aysfjsfdl asdfoasdf 22/12/2015, 17:18 - Sepp: MESSAGE ----- XXX 22/12/2015, 17:31 - Dr. Peper: My Message
"Sepp" and "Frank" are arbitrary strings.
Thank you so much for your answers!
\s-\s.*(?<!Dr\. Peper):\sregex101.com/r/llXSX4/1 or\s-(?!\s*Dr\. Peper)\s.*:\s{}button in the editor toolbar to mark the code or the data to be processed.