Regular Expressions 101

Community Patterns

Get the timestap of a whatasaap message

0

Regular Expression
Python

r"
^([0-9]+)(\/)([0-9]+)(\/)([0-9][0-9]) ([0-9]+):([0-9][0-9]) (a|p).\s(m).
"

Description

If you need to identify only the timestamp of a message, use this REGEX coode.

Submitted by anonymous - 3 years ago