A regular expression to match a Digital Object Identifier (DOI), which is a persistent identifier or handle used to identify objects uniquely, standardized by the International Organization for Standardization.
/^(10\.\d{4,5}\/[\S]+[^;,.\s])$/
Matches:
- 10.1111/dome.12082
- 10.1111/josi.12122
- 10.1080/00207594.2012.744839
Non-matches:
- https://doi.org/10.1111/dome.12082