Test, validate and match regular expressions
This regular expression matches Digital Object Identifiers (DOIs) across various common formats, including those prefixed with 'DOI:', standard numerical formats starting with '10.', or full 'http://dx.doi.org/' URLs. It expects the identifier to be followed by a trailing space. It is primarily used for extracting DOIs from academic text, citations, or metadata in scientific documents.