Regular Expressions 101

Sponsors

Library entries

1
javascript

dd-mm-yyyy

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

parse array to object p1

no description available
Submitted by me - 7 years ago
1
python

regex to match absolute urls

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

recognize php

recognize php code
Submitted by Chris Ottersen - 7 years ago
1
pcre

REGEX for detecting AU Parcel locker

meh
Submitted by tsing to the motherfucking tao - 7 years ago
1
javascript

magnet

Extract magnet links
Submitted by Peng - 7 years ago
1
pcre

load_runner_transaction_end

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

ZAP exclude URL

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

Xml/html regex

Common regex for use with xml/html files
Submitted by wonzbak - 7 years ago

access.log V7.0

Vote

1

Regular Expression
pcre

/
(?P<cdn_node_ip>\S+) - (?P<client_ip>\S+) - - \[(?P<date>\S+)\] "(?P<verb>\w+) (?P<url>\/(?P<delivery_type_code>\S+?)\/(?P<delivery_type>\S+?)\/(?P<bucket_id>\S+?)\/(?P<file_path>.*)) (?P<version>\S+) (?P<referrer_url>\S+)" (?P<status_code>\d+) (?P<content_length>\d+) (?P<bytes_transferred>\d+) (?P<duration>\d+) (?P<cached>-|\d+) "(?P<user_agent>.*?)" "(?P<ep_region_id>\d+) (?P<user_region_id>\d+) (?P<ep_pid>\d+) (?P<user_pid>\d+) (?P<hash_content>\S+)" "("|(?P<download_id>\d+) (?P<origin>\S+) (?P<retries>\d+) (?P<code>\d+) (?P<time>\d+) (?P<p2p>\d+)") (?P<host>\S+) (?P<request_id>\d+) (?P<http_request>\d+) (?P<cache_tier_name>\S+) (?P<layer>\d)
/
g

Description

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