Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 3 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 4 days ago

Discord Token Regex

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(mfa\.[a-z0-9_-]{20,})|([a-z0-9_-]{23,28}\.[a-z0-9_-]{6,7}\.[a-z0-9_-]{27})$
/
gm

Description

Loading markdown...
Submitted by Discord - 5 months ago