Regular Expressions 101

Library entries

1
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 3 months ago
1
pcre2

BadDomainNamesDetected

/hostname=(?P\".*\")/gm
Submitted by KC.G - 2 months ago
1
pcre2

shopee live video

regex for shopee live video
Submitted by lavi - a month ago
1
pcre2

shopee video

regex for share shopee video from mobile app
Submitted by lavi - a month ago
1
pcre2

lazada product desktop

lazada url product desktop
Submitted by lavi - a month ago
1
pcre2

lazada campaign

regex lazada campaign url
Submitted by lavi - a month ago
1
pcre2

lazada share mobile url

regex for lazada share link from mobile apps
Submitted by lavi - a month ago

zpool status

Vote

1

Regular Expression
pcre2

/
(?(DEFINE)(?'value'(?:\N*(?:\n(?:(?: {8}|\t)\N*))*)))\s*pool: (?'pool'\g'value')\n\s*state: (?'state'\g'value')\n((?:\s*status: (?'status'\g'value')\n)?(?:\s*action: (?'action'\g'value')\n)?\s*scan: (?'scan'\g'value')\n)?\s*config:\n\n(?'config'\g'value')\n\s*errors: (?'errors'\g'value')
/
s

Description

Loading markdown...
Submitted by GiorgioAresu - 2 years ago