Regular Expressions 101

Sponsors

Library entries

1
pcre

Test

Test
Submitted by Test - 8 years ago
1
python

requirements

Requirements format that needs to be parsed.
Submitted by drobati - 8 years ago
1
pcre

Nth match

Matches the nth five digit number
Submitted by anonymous - 8 years ago
1
pcre

Find all drives not the primary logical

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

CAS error regex

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

t

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

Parse JSON key value

no description available
Submitted by Kostas Trichas - 8 years ago
1
pcre

Get all HTML tag names

no description available
Submitted by Kostas Trichas - 8 years ago
1
pcre

regex test

testing the string abc xyx 12 13 a a b
Submitted by Alien Coders - 8 years ago
1
pcre

Grab {\w+?} together

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

testmmoj

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