How to use the Regex Tester
- Add your text, file or details in the tool above.
- Adjust the settings to get the result you want.
- Copy or download your result. Nothing is uploaded.
What you can use it for
- Debug validation patterns for forms
- Build find-and-replace rules
- Learn regex with live feedback
Private by design
The Regex Tester runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.
Frequently asked questions
Which regex flavour does it use?
JavaScript (ECMAScript), the same engine your browser uses.
How do I reference groups in a replacement?
Use $1, $2 for numbered groups.