Regular Expressions 101

Sponsors

Library entries

0
python

Special GPS input

Used for TrigDroid
Submitted by anonymous - 12 hours ago
0
pcre2

DwgBatch - Ändra datumformat

Kurs DwgBatch Ändra datumformat
Submitted by Jonas Thor - a day ago
0
pcre2

find supertype of

for express
Submitted by anonymous - 2 days ago
0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - 3 days ago
0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 4 days ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - 4 days ago
0
pcre2

MD highlight remover

Remove highlights from md files
Submitted by anonymous - 4 days ago
0
pcre2

MD higlighter

Mark words to auto-higlight
Submitted by anonymous - 4 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 - 4 months ago