Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^([A-Z]{1,3})\s*(\d+(?:\.\d+)?)\s*(\.[A-Z]\d*)\s*([A-Z]\d*)?\s*(\d\d\d\d(?:-\d\d\d\d)?)?\s*(.*)$
/

Description

LC spine label parsing

Submitted by Dan Pearl - 9 years ago