regex python capture word code example
Example: python regex match words
# credit to Stack Overflow user in source link
import re
re.search(r'\bis\b', your_string)
# credit to Stack Overflow user in source link
import re
re.search(r'\bis\b', your_string)