Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-02-23 20:22
Flavor·Python

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

Description

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

Submitted by anonymous