Regular Expressions 101

Sponsors

Library entries

34
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

41

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