Regular Expressions 101

Sponsors

Library entries

2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 3 months ago
0
dotnet

Script Tag Json

asd
Submitted by anonymous - a year ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - a year ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - a year 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