Regular Expressions 101

Community Library Entry

3

Regular Expression
Python

r"
(0?[1-9]|1[0-2])\/(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\/(1|2)[0-9]{3}\s((0|1)[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])
"

Description

1/Jul/2013 03:27:12

Submitted by himel - 11 years ago