#import re
#if(re.match(r'erlcomr','welcome to python')):
# print('Matched')
#else:
# print('Not Matched')
import re
if (re.search(r't...p$','welcome too p')):
print('Matched')
else:
print('Not Matched')Add a code snippet to your website: www.paste.org