Regex Cheat Sheet for Common Patterns

Referenceregex2/21/2026

Regular expressions are powerful but easy to forget. This cheat sheet lists common patterns for validation and extraction—emails, URLs, numbers, and simple text rules.

Use it with a regex tester to try patterns before adding them to your code. Try the free tool on Buggable.dev for quick, client-side results.