Regular Expressions 101

Community Patterns

Case Insensitive text between 1 and 64 Characters, not ending with one of 5 suffix

0

Regular Expression
PCRE (PHP <7.3)

/
(?i)^(?!.*(?:_dev|_pre|_prod|_test|_)$)[\w-]{1,64}$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago