Regular Expressions 101

Sponsors

Library entries

3
pcre

Remove br tags inside anchor tags

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

JWT Validation

Validate a Json Web Token (JWT).
Submitted by Erik Maas - 7 years ago
3
pcre

TTML time expression offset-time

no description available
Submitted by ovvland - 6 years ago
3
pcre

apache access log

parse the apache access log
Submitted by pagu - 6 years ago
3
pcre

Active Affiliate, Contractor or Employee

no description available
Submitted by MR - 6 years ago
3
pcre

JSON recognition

no description available
Submitted by anonymous - 6 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 - 9 years ago