Answers for "regex match one of two strings"

2

regex find lines containing two strings

^(?=.*\bstring1\b)(?=.*\bstring2\b).*$
Posted by: Guest on February-12-2021
0

regex match two characters

echo %H#E%L#L%O! | sed 's/[#%]//g'	#replaces every appearance of any of
two characters # and %
Posted by: Guest on November-27-2020

Code answers related to "regex match one of two strings"

Code answers related to "Javascript"

Browse Popular Code Answers by Language