Andrew Gilmartin

Andrew Gilmartin

Developer

Biography

Andrew has moved on from Crossref. Andrew Gilmartin was part of the team responsible for implementing and overseeing the query and deposit systems. As a senior member of the technical staff, he helped plan the design and implementation of Crossref’s ever-evolving and growing services.

ORCID iD

0000-0003-2745-4611

Andrew Gilmartin's Latest Blog Posts

DOIs and matching regular expressions

Andrew Gilmartin, Tuesday, Aug 11, 2015

In IdentifiersProgramming

Leave a comment

We regularly see developers using regular expressions to validate or scrape for DOIs. For modern Crossref DOIs the regular expression is short

/^10.\d{4,9}/[-._;()/:A-Z0-9]+$/i

For the 74.9M DOIs we have seen this matches 74.4M of them. If you need to use only one pattern then use this one.

Read all of Andrew Gilmartin's posts »