Regular Expressions 101

Sponsors

Library entries

2
javascript

Vimeo Video ID

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

YouTube Video PArser

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

Разбор имен Валмакс RL

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

ddd

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

Pure-Ftpd Log Action

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

YES!

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

decimal number validation

accepts 1; 1.1; 112315.23135
Submitted by MS - 7 years ago
0
javascript

two matches with pipe

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

redirect old links

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

salary

Chinese salary input
Submitted by taijia - 7 years ago
1
pcre

Code Space Remover

Mathces unnecessary spaces in computer programs.
Submitted by Loovjo - 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