Select Page

Regular Expressions Cheat Sheet

Building Blocks \d a digit \D a non-digit \s a whitespace \S a non-whitespace \w a word \W a non-word \b a word boundary . any character \ Escape special char or start a sequence Repeated Characters or Patterns ? 0 or 1 time + 0 or more times * 1 or more times {#} #...