Skip to content

Instantly share code, notes, and snippets.

@TimB0
Last active May 18, 2022 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimB0/5f9e212ba03654f4cb29c0dd70083a63 to your computer and use it in GitHub Desktop.
Save TimB0/5f9e212ba03654f4cb29c0dd70083a63 to your computer and use it in GitHub Desktop.
Regular Expression Examples
Regular Expressions - Enough to be Dangerous
https://www.youtube.com/watch?v=bgBWp9EIlMM&t=163s
Engineer Man
Engnineer Man|Super Man
(Engineer|Super) Man
1234
^12$
^1234$
^[123456]$
^[1234567890]$
^[0-9]$
^[0-9]{5}$ "Matches 84765" "One of 0-9 5 times"
^[0-9]{5}$ "Matches 84765" "One of 0-9 5..8 times"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment