Regular Expressions 101

Sponsors

Library entries

5
pcre

URL

URL Description from Dr. M. G. @ Brookes
Submitted by anonymous - 7 years ago
5
pcre

Latitude,Longitude fetcher

Useful to work with GoogleMap API.
Submitted by anonymous - 7 years ago
5
pcre

ipv6

Match an ipv6 address
Submitted by Frusty - 6 years ago
6
pcre

ID003 device info

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

json

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

Extract style

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

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 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