Regular Expressions 101

Sponsors

Library entries

1
javascript

replace directive with iife

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

Read tasks from a RakeFile

no description available
Submitted by Caleb Foster - 7 years ago
1
pcre

Slug

Matches alphanumeric slugs without repeating dashes
Submitted by Óscar Enríquez - 7 years ago
-3
pcre

UpperCase words

no description available
Submitted by ivo - 7 years ago
0
javascript

float

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

ipv4 - short version

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

Name file Val

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

new

sdsada
Submitted by anonymous - 7 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