Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^PMC[0-9]{7,8}$
/
gm

Description

Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF), v1.3.0

Submitted by stephan druskat, jurriaan h. spaaks - a year ago