Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[0-9\- ]{10,17}X?$
/
gm

Description

Pattern for validating a definitions.reference.isbn value in the Citation File Format (CFF)

Submitted by Stephan Druskat, Jurriaan H. Spaaks - 3 years ago