Regular Expressions 101

Sponsors

Library entries

1
pcre

LTI Course Mask RegEx

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

Ebay

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

second life

sim regex
Submitted by tez - 7 years ago
1
pcre

Strip i/b tags of attributes

no description available
Submitted by Callum Barclay - 7 years ago
1
pcre

Botanical Sciences

Grupo Autores
Submitted by anonymous - 7 years ago
1
pcre

as

as
Submitted by as - 7 years ago
8
pcre

Alphanumeric and Spaces

Alow alphanumeric characters and spaces
Submitted by JTN - 7 years ago
1
pcre

Combined Regex

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

bibtex entries

match bibtex entries
Submitted by Sixue Qin - 7 years ago
0
python

AMCC

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

Phone number

U.S. Phone number with optional area code.
Submitted by anonymous - 7 years ago
2
pcre

Match 3 Repeating Numbers

no description available
Submitted by anonymous - 7 years ago

my apache2 access.log regex

Vote

1

Regular Expression
pcre

/
(?<src_host>\w+\.\w+:\d{2})\s(?<src_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\D{1,6}(?<date_time>[^ ]+)\s(?<GMT_offset>[^ ]+)\]\s"(?<action>(GET|POST|HEAD|TRACE|PUT|DELETE|CONNECT))\s(?<hash_url>[^ ]+)\s(?<protocol>[^\"]+)\"\s(?<code>\d{1,3})\s(?<size>[^ ]+)\s\"(?<referrer>[^ ]+)\"\s\"(?<user_agent>[^ ]+.+)\"
/
g

Description

Loading markdown...
Submitted by marf - 8 years ago