Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
WhatsApp Message Regex
Open Workspace
JavaScript
Match
Created 2016-08-22 20:26
0
Regular Expression
/
(
\d
{2}
\/
\d
{2}
\/
\d
{4}
)
,
\s
(
\d
(?:
\d
)?
:
\d
{2}
)
\s
-
\s
(
[^
:
]
*
)
:
\s
(
.
*?
)(?=
\s
*
\d
{2}
\/
|
$
)
/
gm
Description
A regex to parse WhatsApp conversation files
Submitted by
Anonymous