Regular Expressions 101

Community Patterns

2

UUID 4

PCRE2 (PHP >=7.3)
Detects any UUID 4 strings
Submitted by ShadowNox - 2 years ago

Discord Username (old & new)

2

Regular Expression
PCRE2 (PHP >=7.3)

/
^[^#]{2,32}#\d{4}$|^(?!.*\.\.|[A-Z])[a-z\d_.]{2,32}$
/
gm

Description

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