Regular Expressions 101

Sponsors

Library entries

1
javascript

Spanish NIE / NIF Validator

no description available
Submitted by Gauravity - 8 years ago
1
pcre

ZLNLB

Zero length negative lookbehind
Submitted by anonymous - 8 years ago
1
pcre

replace test

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

Code Review

username
Submitted by Devon Parsons - 8 years ago
1
pcre

transfer

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

filter match

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

Regex to get video ID from Youtube links

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

deine regex

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

testing for a bloke

Parsing html with regex is bad though.
Submitted by Iroh - 8 years ago
1
python

test

test
Submitted by test - 8 years ago
1
javascript

quantity matcher

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

Alternatvie Country Code Capture

no description available
Submitted by Branden - 8 years ago

Access Log

Vote

1

Regular Expression
pcre

/
(?<src_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s\D{1,5}(?<date_time>[^ ]+)\s(?<GMT_offset>[^ ]+)\s(?<action>[^ ]+.+a=)(?<hash_url>[^ ]+)\s(?<protocol>[a-zA-Z]+)[^ ]+\s(?<code>\d{1,3})\s(?<octet>[^ ]+)\s(?<ratio>[^ ]+)\W(?<percent_comp>[^ ]+)\W(?<dst_url>[^ ]+)\s(?<user_agent>[^ ]+.+)
/

Description

Loading markdown...
Submitted by anonymous - 7 years ago