Regular Expressions 101

Library entries

Match file name no sub folder

Vote

0

Regular Expression
pcre

/
^(.*)\/(?<mnemonic>.+)_(?<isbn>\d{13})_(?<primaryId>.+?)_(?<secondaryId>.+?)(?:_r(?<revisionNumber>\d+))?\.(?<extension>pdf)$
/
gm

Description

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