Regular Expressions 101

Sponsors

Library entries

0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - 6 days ago
0
javascript

Mez regex #3

This is the #3 regex used in Mez
Submitted by anonymous - 7 days ago
0
javascript

Mez regex #1

This is the #1 regex used in Mez
Submitted by anonymous - 8 days ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 8 days ago
0
pcre

find between

find between
Submitted by anonymous - 8 days ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 8 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 9 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 11 days ago

body, p, idml, indb, indt

Vote

0

Regular Expression
pcre

/
^(.*?)\/(?<mnemonic>.{2,8}?)_(?<isbn>\d{13})_(?<primaryId>all|tx\d{0,3}|lay\d{0,3}|c0\d{1,3}|c[^0]\d{1,2}?)_(?<secondaryId>(\d{1,2}|x)p)(?:_r(?<revisionNumber>\d+))?\.(?<extension>indd|qxp|qxd)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago