Regular Expressions 101

Library entries

-2
javascript

search all special characters

no description available
Submitted by rlynjb - 8 years ago
-2
pcre

float

matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by Mateusz Paluch - 8 years ago
-2
pcre

boolean

Value must be either true or false
Submitted by nstaal - 8 years ago
-2
python

Between two strings

Awesome explanation of nested lookbacks
Submitted by OnlineCop - 8 years ago
-2
pcre

Simple Username Pattern

a simple username pattern
Submitted by Saeed Tabrizi - 8 years ago
-2
pcre

DOTNET

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

Get begining of url (subdomain)

In between 2 delimiters
Submitted by anonymous - 8 years ago
-2
python

adsf

adfadfad
Submitted by anonymous - 8 years ago
-2
python

match unescaped quotes

no description available
Submitted by anonymous - 8 years ago
-2
python

TD data from html table

no description available
Submitted by Deepak Bansal - 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 - 10 years ago