python正则表达式匹配手机号_python正则表达式findall验证座机和手机号
def detect_legal_phone(phone_number):if phone_number == None or phone_number == "":return Falseif len(phone_number) != 11:return Falsefor c in phone_number:if ord(c) >= ord("0") and ord(c) <= or...