Regular Expressions 101

Sponsors

Library entries

-2
pcre

1

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

Email validation

no description available
Submitted by tutsplus.com - 8 years ago
0
pcre

Match all html tags

no description available
Submitted by Kostas Trichas - 8 years ago
1
pcre

Get all HTML tag names

no description available
Submitted by Kostas Trichas - 8 years ago
1
pcre

Parse JSON key value

no description available
Submitted by Kostas Trichas - 8 years ago
0
pcre

Parse JSON key value pair

no description available
Submitted by Kostas Trichas - 8 years ago
0
pcre

url GET parameters

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

t

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

Get URL parameters

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

parse images

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

CAS error regex

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

Find all drives not the primary logical

no description available
Submitted by Cm - 8 years ago
1
pcre

Nth match

Matches the nth five digit number
Submitted by anonymous - 8 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 - 10 years ago