Last active
June 24, 2021 20:13
-
-
Save decodist/150f0edca20533eb3981f974131934db to your computer and use it in GitHub Desktop.
Regex to find URLs that include one of multiple strings or words, excluding multiple other strings or words
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
^https:\/\/www.domain.com(?!.*(?:exclude1|exclude2)).*(?:include1|include2|include3).*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment