Regular Expressions 101

Sponsors

Library entries

-2
javascript

valid windows file name

no description available
Submitted by Mitacha - 8 years ago
-2
pcre

get all href=()

no description available
Submitted by artyom lisovskij - 8 years ago
1
pcre

testmmoj

no description available
Submitted by anonymous - 8 years ago
-2
python

eee

no description available
Submitted by anonymous - 8 years ago
2
pcre

find numeric groups in strings

no description available
Submitted by Vovan - 8 years ago
1
pcre

Grab {\w+?} together

no description available
Submitted by anonymous - 8 years 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