python regex match words

# credit to Stack Overflow user in source link

import re'\bis\b', your_string)

Here is what the above code is Doing:
1. import the re module
2. create a regular expression that searches for the word ‘is’ surrounded by word boundaries
3. pass your string into the search method