zjfz-2019-s439462/regexp/Task301.py
2020-01-23 12:38:31 +01:00

9 lines
142 B
Python

import re
def letter_and_two_digits(text) -> bool:
if re.search("[A-Z]\d{2}", text):
return True
else:
return False