Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-01-05 11:31
Flavor·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)|W(Deny)|(Permit)|(Global)|(Trust)|(Untrust)
"
gm
Open regex in editor

Description

For internship purposes

Submitted by Adanna