Regular Expressions 101

Sponsors

Library entries

3
javascript

IPv4 validation

validate an IP v4
Submitted by harimambura - 6 years ago
3
pcre

JSON recognition

no description available
Submitted by anonymous - 6 years ago
3
javascript

email

no description available
Submitted by anonymous - 6 years ago
3
python

Capture Query Strings

A solution for capture query params.
Submitted by Rafael Laurindo - 6 years ago
3
python

Email

Python
Submitted by anonymous - 6 years ago
4
pcre

,(?=([^\"]*\"[^\"]*\")*(?![^\"]*\"))

no description available
Submitted by anonymous - 6 years ago
4
pcre

get specific value from html tag

no description available
Submitted by A.ROA - 6 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