Skip to content

Regex Cheatsheet & Tester

Interactive regex reference with search, categories, and a live pattern tester. Copy tokens instantly and test patterns in your browser.

Updated

What is the Regex Cheatsheet & Tester?

How it works

Examples

Find an email regex pattern

Search: email
Token: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$, Description: Email (basic), Example: test@example.com

Test a date validation pattern

Pattern: ^\d{4}-\d{2}-\d{2}$, Flags: g, Test string: 2023-01-01
1 match found:
[0] “2023-01-01”

Frequently asked questions