Regular Expressions 101

Sponsors

Library entries

3
pcre

split sentence regex

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

images url match in text

no description available
Submitted by Redfern.89 - 8 years ago
3
pcre

Div content

no description available
Submitted by mohammadsaleh - 8 years ago
3
pcre

Cisco ASA

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

hj

hj
Submitted by hj - 8 years ago
3
pcre

currency

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

Currencies

Matches numbers formatted like currencies
Submitted by elgehelge - 7 years ago
3
pcre

Perl

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

Forum user validation

Pedro al DAMS
Submitted by giacomo - 7 years ago
3
pcre

Nombres 4 chiffres

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

Shortcode parser

Parse shortcodes, its attributes values and html
Submitted by anonymous - 7 years ago
3
pcre

POST OFFICE BOX

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