Regular Expressions 101

Community Patterns

-3

IPv4 address

Python
Matches any IPv4 address
Submitted by anonymous - 8 years ago
-2

example

Python
match
Submitted by anonymous - 10 years ago
-2

eee

Python
no description available
Submitted by anonymous - 9 years ago
-2

link

Python
no description available
Submitted by NTP-[SADAS] - 9 years ago
-2

five word capture

Python
no description available
Submitted by anonymous - 9 years ago
-2

Host and domains

Python
no description available
Submitted by anonymous - 9 years ago
-2

IPv4

Python
allows for all legal IPv4 addresses
Submitted by anonymous - 9 years ago
-2

twitter usernames

Python
no description available
Submitted by anonymous - 9 years ago
-2

checklists item

Python
checklists item
Submitted by Tobias Hochgürtel - 9 years ago
-2

filter

Python
no description available
Submitted by anonymous - 9 years ago

how to match both lines?

3

Regular Expression
Python

r"
time=(\d+\-\d+\-\d+\s+\d+:\d+:\d+)\|action=(\w+)\|[f_name=(\S*)]?\|has_accounting=0
"

Description

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