Regular Expressions 101

Community Patterns

Discord name with both old and new name support

-1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[^#]{2,32}#\d{3}[1-9]|(?!.*\.\.)[a-z\d_.]{2,32}
/
gm

Description

Loading markdown...
Submitted by Fy17 - 6 months ago