Regex cheat sheet

Search a library of ready-to-use regex patterns, read the syntax reference, and test any expression against your own text with live match highlighting. Nothing is uploaded.

Live tester
Regular expression
/ / g
Flags
Test string
Matches
Pattern library
Syntax reference

Everything runs in your browser. No upload, no sign-up.

How it works

STEP 1

Search the pattern library

Type what you need — “email”, “IP”, “date” — and the library filters live. Each pattern shows the regex and a one-line description.

STEP 2

Copy or load a pattern

Copy any pattern with one click, or press “Test” to drop it straight into the live tester below.

STEP 3

Test against your own text

Paste a regex and a test string, pick flags, and see every match highlighted in real time — all in your browser.