Regular Expressions 101

Sponsors

Library entries

0
javascript

VidID: YouTube

ID of YouTube video with provider flag
Submitted by tomByrer - 15 days ago
0
pcre2

OGSP-102503

customer regex
Submitted by anonymous - 15 days ago
0
pcre2

Trying

to search string in sip call log
Submitted by Sachin - 16 days ago
0
pcre2

huji-oop-ex6

regex for huji oop course ex6
Submitted by anonymous - 16 days ago
0
python

Skillshare matcher regex

Skillshare matcher regex
Submitted by anonymous - 16 days ago
0
python

Emails

test
Submitted by anonymous - 17 days ago
0
pcre2

YouTube extract videoId

Extract Video ID from URL Youtube
Submitted by anonymous - 17 days ago
0
pcre2

Delete empty lines

Delete empty lines
Submitted by anonymous - 18 days ago
0
pcre2

named query log parse

It's a simple regexp for dns-query.log
Submitted by anonymous - 19 days ago
0
javascript

Pass/Fail

gaming pass fail shortcut
Submitted by Steve Muchow - 19 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 - 2 months ago