Regular Expressions 101

Community Patterns

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 - 9 years ago
31

ninite

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

Riedler's 2nd URL regex

0

Regular Expression
Java 8

"
^(?<scheme>[a-zA-Z][a-zA-Z0-9-+.]*)://(?:(?<username>(?:[\w-]|%\d\d)+)(?::(?<passwd>(?:[\w-]|%\d\d)*))?@)?(?<host>(?:[a-zA-Z][a-zA-Z0-9-]*\.?)+|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?<port>:\d+)?(?<path>(?:/(?:[\w-.:]|%\d\d)+)+/?|/)?(?<query>\?(?:(?:[\w-]|%\d\d)+(?:=[\w]+)?(?:&|$))*)?(?<fragment>#.*)?$
"
mg

Description

Loading markdown...
Submitted by Riedler - 7 months ago