Answers for "regex multiple 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
0

regex one or more words

[ws]+
Posted by: Guest on September-12-2020

Browse Popular Code Answers by Language