Regular Expressions 101

Sponsors

Library entries

0
pcre

html-link-2

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

html-link

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

mask the credit card number

no description available
Submitted by vj - 8 years ago
3
javascript

SemVer chain parsing

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

dd/mm/yyyy validation regexp

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

ADEX

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

Nisima

v4 => All v5 => Vrac
Submitted by anonymous - 8 years ago
0
pcre

exclude char

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

march html tag

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

test

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

UID

no description available
Submitted by anonymous - 8 years ago

Apache/Nginx log parser with Cookie

Vote

0

Regular Expression
pcre

/
((?:(?: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]?))[, ].{1,}\[([0-3][0-9]\/\w{3}\/[0-9]{4}):([0-2][0-9]:[0-5][0-9]:[0-5][0-9]) ((?:\+|\-)[0-9]{4})\].{1,}"(GET|POST|HEAD|PUT|DELETE|TRACE|CONNECT) ([\/\w\.\-\?\_\=\*\$\%\:]+).{1,}" (\b\d{3}) (\d+|-) "((?:(?:http(?:s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,24}\b[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)|-)" "([^"]+)" "([^"]+)"$
/

Description

Loading markdown...
Submitted by Samuil Dichev - 8 years ago