Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago
35

http://

PCRE (PHP <7.3)
no description available
Submitted by Mitus M. - 10 years ago
18

Email validation

PCRE (PHP <7.3)
no description available
Submitted by tutsplus.com - 9 years ago
16

Alphanumeric Regex

PCRE (PHP <7.3)
no description available
Submitted by Deepan - 8 years ago
4

Phone number

PCRE (PHP <7.3)
no description available
Submitted by Mark Landry - 8 years ago
23

userName

PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by gsanchezc - 8 years ago

regex101.com id grabber

13

Regular Expression
PCRE (PHP <7.3)

/
^https?:\/\/regex101\.com\/?(?:r\/(?P<link>(?:[a-zA-Z]{2}\d){2})(?:\/(?P<version>\d+)?)?)?$
/
gm

Description

Loading markdown...
Submitted by chris mccoy - 9 years ago