Answers for "regex match several words"

2

regex match several words

# To match the entire line which contains one of foo, man, choo:
^.*(foo|man|choo).*$
Posted by: Guest on June-11-2020

Browse Popular Code Answers by Language