Regular Expressions 101

Sponsors

Library entries

0
python

Find email address in a string.

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

MongoDB _ID

Detect if is a valid id for MongoDB
Submitted by manuerumx - 8 years ago
1
pcre

dapi

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

ref match

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

Why is this not matching the closest <A tag?

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

Find multiple XML documents in file

as title says
Submitted by Doro - 8 years ago
1
pcre

ticket regexp

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

x

x
Submitted by x - 8 years ago

Regular expression for both IPv6 and IPv4 URL

Vote

-2

Regular Expression
pcre

/
(?=(([0-9a-fA-F]{4}):([0-9a-fA-F]{4}):([0-9a-fA-F]{4})::([0-9a-fA-F]{4}))|(^\s*(((https?(?![0-9][a-zA-Z]):)?(//)((w{3}?).)?)?)([\w-]+\.)+[\w-]+(\/[\w- ./?%&amp;=]*)?\s*$))
/
regular expression

Description

Loading markdown...
Submitted by Henry Li - 8 years ago