Recent | Popular
#regex #python #match
import re if re.match(r"hello[0-9]+", 'hello1'): print('Yes')
Wed Aug 12 2020 03:09:20 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/12595051/check-if-string-matches-pattern