Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
user_b: (.*?)(?=^[0-9]{2}/[0-9]{2}/[0-9]{2})
/
gm
Input 1
1
New
27/07/18, 12:02 PM - user_a: https://www.youtube.com/ Watch this 27/07/18, 12:15 PM - user_b: <Media omitted> 27/07/18, 12:52 PM - user_b: Read this fully some text some text . some text 27/07/18, 12:56 PM - user_c: text ..