Regular Expressions 101

Community Patterns

0

分组引用

Python
分组引用
Submitted by anonymous - a year ago
0

Network Address

PCRE (PHP <7.3)
-
Submitted by anonymous - a year ago
0

Phone number

Python
Phone number
Submitted by anonymous - a year ago
0

Author names

Python
Matches author names
Submitted by anonymous - a year ago
0

TRye bracktres

Python
gfhtrgh
Submitted by anonymous - a year ago

Apache Log Format Parser

0

Regular Expression
Python

r"
(?P<host>[\d\.]+)\s(?P<identity>\S*)\s(?P<user>\S*)\s\[(?P<time>.*?)\]\s"(?P<request>.*?)"\s(?P<status>\d+)\s(?P<bytes>\S*)
"

Description

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