Regular Expressions 101

Sponsors

Library entries

0
pcre2

GraphQL C# helper substitution pattern

No description
Submitted by anonymous - 9 months ago
0
pcre2

find dk domains

only finds dk domains in urls
Submitted by anonymous - 9 months ago
0
pcre2

Madmax plots

Madmx plots
Submitted by anonymous - 9 months ago
0
pcre2

1111

czxdzxddzxvxcdvsdzvszdvszd
Submitted by anonymous - 9 months ago
0
pcre2

legal

legal
Submitted by anonymous - 9 months ago
0
pcre2

contentful

contentful
Submitted by anonymous - 9 months ago
0
pcre2

Remove parameters from gif images urls

.
Submitted by dares - 9 months ago
0
pcre2

Password

For password validation
Submitted by anonymous - 8 months ago
0
pcre2

ISO style date

yyyy/mm/dd
Submitted by Russ Ferriday - from a Docusign template - 8 months ago

calibre

Vote

0

Regular Expression
pcre2

/
^(?P<series>[(][^_-]+?[)])?[\s]*(?P<author>(?! [-]).*?)([\s]+?-[\s]*)(?P<title>[^\(]*?)(?P<titletail>[\s]*?)((?P<comments>[\(](?:[\s]*(((?P<published>[12][\d]{3,3})\s*)((?=([,\)]))))?)?((?P<prepublisher>[\w]*?[,-]?)([,]?[\s]*((?P<publisher>[-|~'&%$#"!\w\s]*(([a-zA-Z]+)[-|~'&%$#"!\w\s]*))(?!(([\d-]{11}-?([x]|[\d])[\s]*[\)])))))?(?P<isbn>([,]?[\s]*(?P<isbntag>(?i)ISBN[-]?1(?:(?P<is10>0)|3)?[:\s])?\s*(?(isbntag)(?(is10)((?=[\d-]{11}-[\d|x][\s]*[\)])(?P<isbn10>\d{1,5}[ -]\d{1,7}[ -]\d{1,6}[ -](?:\d|x)))|((?:(?=[\d-]{17}[\s]*[\)])(?P<isbn13>97(?:8|9)[ -]\d{1,5}[ -]\d{1,7}[ -]\d{1,6}[ -]\d))))|(?:(?=(([\d-]{11}-([\d]|[x]))[\s]*[\)]))(?P<ISBN10>\d{1,5}([ -])\d{1,7}[ -]\d{1,6}[ -](?:\d|x))|(?:(?=[\d-]{17}[\s]*[\)])(?P<ISBN13>97(?:8|9)[ -]\d{1,5}[ -]\d{1,7}[ -]\d{1,6}[ -]\d)))))?)(?=([\s]*[,\)])))?(?P<tooManyCommasOrOnlyDigits>.*)[\s]*[\)]))*?[.](?P<extension>[[:alpha:]]+)$
/
mgD

Description

Loading markdown...
Submitted by anonymous - a year ago