Regular Expressions 101

Sponsors

Library entries

0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 days ago
0
python

Editoria gamecoin

Capturar editorias do site gamecoin
Submitted by anonymous - 3 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 4 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 5 days ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 5 days ago
0
java

carbon

test1
Submitted by anonymous - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 6 days ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 9 days ago
0
python

Tool Call

f
Submitted by anonymous - 13 days ago
0
python

Bit00:sadf::saf

Bit00:sadf::saf 提取
Submitted by anonymous - 13 days ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 14 days ago

FG – VIP details extraction

Vote

0

Regular Expression
python

"
(?:(?:^edit\ \"(.+)\"$\n)(?:^set\ uuid\ ([a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12})$\n)(?:(?:^set\ comment\ )((?:(?!^set\ )(?:.*$\n))+)(?=^set\ ))?(?:^set\ service\ (\".+\")$\n)?(?:^set\ extip\ ((?:(?:\d{1,3}\.){3}(?:\d{1,3}))(?:\-(?:\d{1,3}\.){3}(?:\d{1,3}))?)$\n)(?:^set\ extintf\ \"(.+)\"$\n)(?:^(set\ portforward)\ (enable)$\n)?(?:^(set\ color)\ (\d{1,2})$\n)?(?:^set\ mappedip\ \"((?:(?:\d{1,3}\.){3}(?:\d{1,3}))(?:\-(?:\d{1,3}\.){3}(?:\d{1,3}))?)\"$\n)(?:^(set\ protocol)\ (.+)$\n)?(?:^(set\ extport)\ (\d{1,5}(?:\-\d{1,5})?)$\n)?(?:^(set\ mappedport)\ (\d{1,5}(?:\-\d{1,5})?)$\n)?(?:^next$\n(?:^$\n)?))
"
gm

Description

Loading markdown...
Submitted by anonymous - 3 months ago