Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- s = 'one two three'
- if re.findall('one', s):
- print('yes')
- else:
- print('no')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement