Regular Expressions 101

Community Patterns

匹配不包含x且必须包含y

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!.*x)(?=.*y).*$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago