Regex Cheater

Use this page as a crutch, because, let's face it, regex is hard.

Common Patterns

Examples

Word Boundaries

Word boundaries are the start and end of a word. They are like the bookends of a sentence.

Anchor Patterns

Anchor patterns are used to match the start of a word. They are like the beginning of a sentence, but not as exciting.

Quantifiers

Quantifiers are used to match a number of times. Like, exactly 3 or more times, or maybe never at all.

Phone Number

Phone numbers are like, well, numbers with a phone.

Username

Username is like a name, but not your real name.

Email

Email is like, well, letters in your inbox. But not really.