Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?mx) # x- modifiers to add comments in regex #. #any character, except newline #\s. #only space and newline characters #\w+ #Word quantifiers to match 1 or more words [\ \.\-]
/
gm

Description

no description available

Submitted by anonymous - 5 years ago