You are viewing a single comment's thread. Return to all comments →
def uid_validator(uid): uid = uid.strip() return ( 'Valid' if ( re.fullmatch(r'^[0-9a-zA-Z]¨{10}', uid) and len(re.findall(r'[A-Z], uid) >=2) and len(re.findall(r'[0-9], uid) >= 3) and len(set(uid) == 10 ) else 'Invalid )
Seems like cookies are disabled on this browser, please enable them to open this website
Validating UID
You are viewing a single comment's thread. Return to all comments →