Regular Expressions 101

Library entries

12
pcre

Match Gmail Email

Match Gmail Email
Submitted by Óscar Enríquez - 9 years ago
12
javascript

Username with "_" "-"

no description available
Submitted by Gianvy - 8 years ago
12
javascript

US Currency Format

no description available
Submitted by anonymous - 7 years ago
11
pcre

Codice fiscale

Check "codice fiscale"
Submitted by Luca - 8 years ago
10
pcre

remove comments from php code

no description available
Submitted by anonymous - 8 years ago
10
javascript

Full url parse, domain, path, params

no description available
Submitted by anonymous - 8 years ago
10
python

entity

no description available
Submitted by anonymous - 8 years ago
9
pcre

Validate Base64 single-line string

no description available
Submitted by ka. - 10 years ago

URL regexp

Vote

40

Regular Expression
pcre

/
((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[.\!\/\\w]*))?)
/
ig

Description

Loading markdown...
Submitted by Matthew O'Riordan - 10 years ago