Strip the person/ prefix and surrounding whitespace from a MEP identifier.
The EP API returns MEP ids in several forms (person/124936, 124936,
MEP-124936). We normalise to the bare numeric token plus the original
string so substring matches against author fields succeed regardless of the
representation chosen by a given endpoint.
Strip the
person/prefix and surrounding whitespace from a MEP identifier.The EP API returns MEP ids in several forms (
person/124936,124936,MEP-124936). We normalise to the bare numeric token plus the original string so substring matches against author fields succeed regardless of the representation chosen by a given endpoint.