Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\d{3,15}[\/-]{1}\d{1,2}([\/-\s]{1}\d{1,2}|)(\s+\d{0,2}|)
/
gm

Description

Gets the project number from the extracted text fields from the PDF files.

Submitted by anonymous - 2 years ago