Regular Expressions 101

Sponsors

Library entries

0
pcre

$ en anglais ($xx.xx)

$ en anglais ($xx.xx)
Submitted by EA - 7 years ago
3
pcre

Nombres 4 chiffres

Nombres 4 chifres
Submitted by EA - 7 years ago
1
pcre

Site (Régis)

Site Régis
Submitted by EA - 7 years ago
1
pcre

Site FR

Site FR, pour trouver la version correcte.
Submitted by EA - 7 years ago
0
javascript

3 digit number between 82-104

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

noted xanbot

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

hex string

match 00aabbcc... or 00:aa:bb:cc...
Submitted by minji - 7 years ago
1
pcre

java

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

reddit test match

just a test match
Submitted by anonymous - 7 years ago
1
pcre

cpc=ordinary

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

Persian Alphabet Characters

The Pesian Alphabet Chhars
Submitted by Saeed Tabrizi - 7 years ago
1
javascript

MASSA$%^&*)(*

no description available
Submitted by anonymous - 7 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 - 7 years ago