Regular Expressions 101

Sponsors

Library entries

5
pcre

Find All Python imports

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

PAN verification regex

Regex to verify PAN in India
Submitted by Anirban - 8 years ago
15
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 8 years ago
1
pcre

Test

test
Submitted by royskatt - 8 years ago
1
pcre

input mandatory title

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

webongo

webongo test
Submitted by webongo - 8 years ago
1
pcre

search mailadress

no description available
Submitted by anonymous - 8 years ago
-2
javascript

valid windows file name

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