Regular Expressions 101

Sponsors

Library entries

30
javascript

Email address (most used)

Email address, most used cases
Submitted by Jago - 7 years ago
31
pcre

ninite

no description available
Submitted by peek - 7 years ago
33
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 7 years ago
37
pcre

http://

no description available
Submitted by Mitus M. - 8 years ago
103
javascript

trim

trim string
Submitted by fp - 9 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 - 9 years ago