Regular Expressions 101

Sponsors

Library entries

0
pcre

seasons

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

asd

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

Extracting Numbers

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

sushiroles

some sushi role
Submitted by anonymous - 8 years ago
1
pcre

Test prioritized match

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

mama

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

test

no description available
Submitted by Honza Břečka - 8 years ago
1
pcre

foobar

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

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
1
pcre

json

no description available
Submitted by suat & umut - 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