Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex find lines containing two strings

^(?=.*string1)(?=.*string2).*$
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #find #lines #strings
ADD COMMENT
Topic
Name
6+3 =