Answers for "string with multiple regex matches"

3

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

Code answers related to "string with multiple regex matches"

Browse Popular Code Answers by Language