Regular Expressions 101

Sponsors

Library entries

1
pcre

why this matches?

no description available
Submitted by romans - 9 years ago
-1
pcre

Substitutin

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

negated special characters

no description available
Submitted by Rimjhim - 9 years ago
1
pcre

bridal quality

no description available
Submitted by mine - 9 years ago
1
pcre

email

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

Get Nth value (3 times)

capture Nth character from string, 3 times
Submitted by K. - 9 years ago
2
pcre

hghdgh

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

YouTube Grabber Cleanup

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

takie

no description available
Submitted by sdfsdfdsf - 9 years ago
-11
python

54

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

Hello world example

no description available
Submitted by Fedir RYKHTIK - 9 years ago
2
pcre

Get Currency SYMBOL/CODE

no description available
Submitted by Ka. - 9 years ago
-1
pcre

Finds <font> tag

Useful for cleaning old html code from tags
Submitted by anonymous - 9 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