Regular Expressions 101

Sponsors

Library entries

1
pcre

regrex expression

http://www.r-project.org/mail.html
Submitted by Michael Tan - 7 years ago
2
python

suricata OSSIM regex-1

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

nwtis_app1_admin

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

Zipcode Mundial

no description available
Submitted by Mariela Gonzalez - 7 years ago
1
pcre

Replace anonymous actions

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

Port mapping

no description available
Submitted by yord - 7 years ago
1
pcre

Polynomial matcher

Matches every polynomial you want ;)
Submitted by Stefan Baumann - 7 years ago
0
pcre

brian

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

test

test
Submitted by test - 7 years ago

Validate URLs

Vote

1

Regular Expression
pcre

`
(?(DEFINE) (?<PROTOCOL>[^:/#?\s]+://) (?<LOGIN>[^:@/#?\s]+(?::[^@/#?\s]+)?@) (?<TEXT_DOMAIN>[^./#?\s-:]+(?:-[^./#?\s-:]+)?\.) (?<IP_DOMAIN> (?&NOT_RESERVED_IP) (?: (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\. ){3} (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) ) (?<NOT_RESERVED_IP> (?!(?:1?0|224)(?:\.\d{1,3}){3}| (?:192\.168|172\.16)(?:\.\d{1,3}){2} ) ) (?<TLD>[^/#?\s.\d:-]+) (?<PORT>:\d{1,4}) (?<PATH>/(?:[^/\s&#?]*/?)+) (?<QUERY> \? (?: [^\s=]+(?:=[^&\s]*)? (?:&[^\s=]+(?:=[^&\s]*)?)* )? ) (?<HASH>\#.*) ) ^ (?&PROTOCOL) (?&LOGIN)? (?:(?&TEXT_DOMAIN)+(?&TLD)|(?&IP_DOMAIN)) (?&PORT)? (?&PATH)? (?&QUERY)? (?&HASH)? $
`
gmx

Description

Loading markdown...
Submitted by Firas Dib - 8 years ago