Regular Expressions 101

Community Patterns

1

password8s

PCRE (PHP <7.3)
password con 8
Submitted by anonymous - 7 years ago
1

men

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago

Time Parsing

1

Regular Expression
PCRE (PHP <7.3)

/
^ # New line T?([00-23]{2}) # Hour block (00 through 23 hours) \:?([00-59]{2}) # Minute block (00 through 59 minutes) \s* # Optional space ([ap])?\.?(m?)\.? # AM or PM, with or without periods $ # End of the string.
/
imgx

Description

Loading markdown...
Submitted by Michael Stemle - 7 years ago