Regular Expressions 101

Community Patterns

0

Parcing2

PCRE (PHP <7.3)
aa
Submitted by anonymous - 10 months ago
0

Init code

PCRE2 (PHP >=7.3)
Init code
Submitted by anonymous - 10 months ago

Twitter profile url regexp

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^https:\/\/twitter.com\/(?!messages|notifications|settings)[a-zA-Z0-9_]{4,15}($|\/)
/
gm

Description

Loading markdown...
Submitted by nbryskin - a year ago