Answers for "regex find strings that have two words in them"

6

regex find lines containing two strings

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

regex select string between two strings

(?s)(?<=This is).*?(?=sentence)
Posted by: Guest on September-20-2021

Code answers related to "regex find strings that have two words in them"

Code answers related to "Javascript"

Browse Popular Code Answers by Language