Regex Tester
Test regular expressions live against sample text, with match highlighting, flags and match positions.
About this tool
Test regular expressions live against sample text, with match highlighting, flags and match positions. Your data never leaves your browser. Client-side processing with zero waiting. No accounts, no paywalls, no watermarks.
How to use
- 1
Type or paste your data in the input box
- 2
Choose your options and run the tool
- 3
Copy or download the result — done!
Frequently asked questions
▸Which regex flavor does the tester use?
It uses JavaScript (ECMAScript) regular expressions — the same engine built into your browser. Features like lookbehind, named groups and Unicode classes are supported.
▸Is my pattern or text uploaded anywhere?
No. Matching runs entirely in your browser with the native RegExp engine, so confidential logs and keys in your test text never leave your device.
▸What do the g, i, m, s and u flags do?
g finds all matches instead of just the first, i ignores case, m makes ^ and $ match line boundaries, s lets . match newlines, and u enables full Unicode matching.