Regular Expressions 101

Community Patterns

1

ip address

PCRE2 (PHP >=7.3)
ip
Submitted by Giorgio - a month ago

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