Regular Expressions 101

Library entries

7
pcre

Any positive integer except zero

no description available
Submitted by Harsh - 8 years ago
7
javascript

Date and time format - ISO 8601

Matches ISO 8601 date formats
Submitted by Ettienne - 7 years ago
6
javascript

Password

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

ID003 device info

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

json

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

Extract style

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

Username:Password

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