Pattern | Description | Example |
---|---|---|
[a-zA-Z0-9]+ |
Alphanumeric characters only | https://regex101.com/r/Nlg8FS/1 |
[0-9]+ |
Numerical characters only | https://regex101.com/r/l5QjqA/1 |
((string1).*(string2))|((string2).*(string1)) |
Match a string containing string1 AND string2 in any order | https://regex101.com/r/uE4rE5/1 |
Last active
July 14, 2021 14:04
-
-
Save Dobby89/c4e6be40792f461fc887de5feaa63cd1 to your computer and use it in GitHub Desktop.
Regex recipes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment