Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[a-zA-Z]+\s\s\d|(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])|([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})|(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])|0[1-9]|[12][0-9]|3[01][-/.](0[1-9]|1[012])[-/.](19|20)
"
gm

Description

This is an internship trial for my own use

Submitted by Adanna - 2 years ago