Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(:|for)\s(?<Message>.*)
/
g
Test String
New
1st Applicatio photobuf message : dfgjsdgfjsgd gsdkgfksdgf ksdgfksdgfk s--- for such message i want ":" as delim 2nd Application2:Photoinserted to somesets for an Account--- for these messages i want "for" as delim
Extraction
Processing...