Regular Expressions 101

Sponsors

Library entries

-2
pcre

xml_kv_extraction

Basic XML key-value extraction
Submitted by Keith Muggleton - 7 years ago
1
pcre

Conjugations

Matches some conjugations of the verb entrer
Submitted by anonymous - 7 years ago
1
pcre

dfdg

dfgdfgdfgdfg
Submitted by dfgdfgdfg - 7 years ago
1
pcre

conditions regex

no description available
Submitted by suat erenler - 7 years ago
0
pcre

utf-8 language

this regex is support for all languages
Submitted by Jigar Dhaduk - 7 years ago
1
pcre

slug in formula

Get all slug in a math formula not between {}
Submitted by M.BIGOT - 7 years ago
1
javascript

Cartão de cidadão / BI

no description available
Submitted by David Serrano - 7 years ago
-2
pcre

12 Hour Time Pattern

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

ICD9 CodeRange

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

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 7 years ago
-4
javascript

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 7 years ago
0
pcre

Replace 07 with international UK

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

Mod4 Regex

Mod4 Regex Sapzip
Submitted by re4lfl0w - 7 years ago

Apache/Nginx Logs parsing

Vote

1

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