Regular Expressions 101

Sponsors

Library entries

1
pcre

qwe

qweqwe
Submitted by qwe - 7 years ago
0
pcre

Cfmail replace

Replace cfmail with cfsets
Submitted by Akan - 7 years ago
0
pcre

urls and emails

no description available
Submitted by Matthew O'Riordan - 7 years ago
0
pcre

Four e/E's no p's

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

GUID

Dection of GUID
Submitted by anonymous - 7 years ago
0
javascript

regex101-4269

to share with IRC helpers
Submitted by Bruno - 7 years ago
0
python

get youtube vid ID

match #2
Submitted by parzivail - 7 years ago
0
pcre

xD

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

trans with var

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

BB quote extractor

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

phone number (FR)

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

DEMO

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

-v, —invert-match

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

bsah_7

no description available
Submitted by anonymous - 7 years ago

REGEX to parse IIS7 Log File into FluentD

Vote

4

Regular Expression
pcre

/
^(?<date>\d{4}\-\d{2}\-\d{2}\s+)(?<time>\d{2}\:\d{2}\:\d{2}\s+)(?<sip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\s+)(?<csmethod>.+?\s+)(?<csuristem>.+?\s+)(?<csuriquery>.+?\s+)(?<sport>\d{1,3}\s+)(.+?\s+)(?<cip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\s+)(?<csUseragent>.+?\s+)(?<scstatus>\d{1,3}\s+)(?<scsubstatus>\d{1,3}\s+)(?<scwin32status>\d+\s+)(?<scbytes>\d+\s+)(?<csbytes>\d+\s+)(?<timetaken>\d+)?$
/

Description

Loading markdown...
Submitted by Juan Carniglia - 8 years ago