Last active
September 15, 2023 14:13
-
-
Save luizsaluti/742b0183ccd90fdc9551317b18e0d3c9 to your computer and use it in GitHub Desktop.
Search 2 string patterns within same line
This file contains 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
//whole words | |
^(?=.*\bWORD_1\b)(?=.*\bWORD_2\b).*$ | |
//any char | |
^(?=.*WORD_1)(?=.*WORD_2).*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment