@staticmethod<EOL><INDENT>def userToId(url):<DEDENT>
match = re.search(r"<STR_LIT>", url)<EOL>return match.group(<NUM_LIT:2>) if match else None<EOL>
Extract the username from a contact URL.

Matches addresses containing ``users/<user>`` or ``users/ME/contacts/<user>``.

Args:
    url (str): Skype API URL

Returns:
    str: extracted identifier