A regex pattern is like a puzzle, except it's not a puzzle, it's a mess of characters and symbols that will drive you insane.
Go to Regex Linking Examples 2: The Pattern of DesperationHere are some examples of regex patterns that might just make you question the very fabric of reality:
Use the following pattern to match all the letters in a string: /[a-z]/
See more examples of matching patterns
Use the following pattern to match numbers with a length of 5: ^\d{5}$
Learn more about matching numbers with specific lengths
Use the following pattern to match words with a length of 5: \b\w{5}\b