Last active
September 4, 2019 08:35
-
-
Save Farmatique/eff45bb3438e4e9b2f5c544e831a86c1 to your computer and use it in GitHub Desktop.
Regexp. Search if text contains One AND Two words. contains a set of words
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from here https://www.regular-expressions.info/completelines.html | |
^(?=.*?\bfirst_word\b)(?=.*?\bsecond_word\b).*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment