how to search for multiple words in a regex function code example
Example: regex match several words
# To match the entire line which contains one of foo, man, choo:
^.*(foo|man|choo).*$
# To match the entire line which contains one of foo, man, choo:
^.*(foo|man|choo).*$