Skip to content

Instantly share code, notes, and snippets.

@YaronMiro
Created March 26, 2016 11:25
Regular expressions
# Represent any number
\d
# Anything but a number
\D
# Represent any space
\s
# Anything but a space
\S
# Represent any character
\w
# Anything but a character
\W
# Anything but a new line brea
.
# any space that procced or followed by a whole word (My Dog)
\b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment