Regular Expressions 101

Sponsors

Library entries

0
pcre2

Address

grab address
Submitted by anonymous - 2 years ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - 2 years ago
0
pcre2

r-type single register

for a comp arch assembler
Submitted by anonymous - 2 years ago
0
pcre2

django /static/ to {% static %}

replaces as said
Submitted by anonymous - 2 years ago
0
pcre2

owo/uwu/7w7

detects this shit: owo uwu 7w7 unu 7n7...
Submitted by padero - 2 years ago
0
pcre2

IBAN Search

with white space and capitals
Submitted by anonymous - 2 years ago
0
pcre

Links in HTML

Example href="https://example.com"
Submitted by anonymous - 2 years 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 - 2 years ago