Regular Expressions 101

Library entries

0
pcre2

kiểm tra họ tên

kiểm tra họ tên
Submitted by anonymous - 7 months ago
0
pcre2

ITIN

ITIN regex
Submitted by anonymous - 7 months ago
0
pcre2

BF / Trade Channel

Extract trade_channel from branded_foods
Submitted by anonymous - 7 months ago
0
pcre2

OOC Accion

OOC Action
Submitted by Ramiro - 7 months ago
0
pcre2

匹配多个引用格式

匹配多个引用格式
Submitted by anonymous - 7 months ago
0
pcre2

post id

pulls ids out of id-prefaced slugs
Submitted by ben - 7 months ago
0
pcre2

搜索第一个括号

\(#.*?\)
Submitted by Michael - 7 months ago
0
python

audiomack

valid url test for audiomack website
Submitted by Abdullah Ibn Fulan - 7 months ago

FG – VIP details extraction

Vote

0

Regular Expression
python

r"
(?:(?:^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 - 7 months ago