Regular Expressions 101

Sponsors

Library entries

2
pcre

Email Domain Regex

A pattern to match the email domain suffix
Submitted by doug - 7 years ago
2
pcre

5

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

YouTube Iframe parser

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

find numbers with 2 commas

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

Any variable between @

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

IP with Subnet

IP address with Subnet
Submitted by Matt Masse - 7 years ago
2
pcre

1

no description available
Submitted by в - 7 years ago
2
pcre

test

test
Submitted by anonymous - 7 years ago
2
pcre

search script tags

found if is content src atributes
Submitted by Kun Csaba - 7 years ago
2
pcre

notepad++

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

po box

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

76

no description available
Submitted by anonymous - 7 years ago

xferlog parser (proftpd, ftpd, vsftpd, etc..)

Vote

3

Regular Expression
pcre

/
(?<time>\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}) (?<xferTime>\d*) (?<remoteHost>\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b) (?<fileSize>\d*) (?<fileName>\S*) (?<transferType>[a|b]) (?<specialActionFlag>\S{1}) (?<direction>\S{1}) (?<accessMode>\S{1}) (?<userName>\S*) (?<serviceName>\S*) (?<authenticationMethod>\S*) (?<authenticatedUserId>\S*) (?<completionStatus>\S*)
/
g

Description

Loading markdown...
Submitted by Robin Kearney - 8 years ago