Regular Expressions 101

Sponsors

Library entries

1
pcre

number float/decimal

[0-9-.E]+.
Submitted by harel - 6 years ago
1
pcre

FindAllMatches

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

Règle REMP 13

Remplacement de coût, goût, tache...
Submitted by DBR - 6 years ago
1
pcre

Extract UUID v4 from a string

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

select github username from url

select the github username from url
Submitted by chocksy - 6 years ago
1
pcre

dribbble username select from url

select username from dribbble url
Submitted by chocksy - 6 years ago
1
pcre

linkedin select username

Select just the username from urls
Submitted by chocksy - 6 years ago
1
pcre

Strip Dashes

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

Disassembly Line Bytes

no description available
Submitted by zhaDe - 6 years ago
1
python

Address

Regex for extracting address with pincode.
Submitted by Irfan Patel - 6 years ago

Detects IPv4 and IPv6 addresses

Vote

1

Regular Expression
pcre

/
^(?<ip_addr>((\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|((([\da-fA-F]{1,4}:){7})([\da-fA-F]{1,4})$|(([\da-fA-F]{1,4}:){1,6}:)(([\da-fA-F]{1,4}:){0,4})([\da-fA-F]{1,4}))|(::[\da-fA-F]{1,4})|(([\da-fA-F]{1,4}:){0,7}[\da-fA-F]{1,4}::)))$
/
mg

Description

Loading markdown...
Submitted by Alan - 6 years ago