Test your regular expressions against sample text. No data leaves your device.
About this tool
The Regex Tester helps you build and test regular expressions with live matching. It provides a convenient, offline environment to experiment and debug patterns.
How to use
- Enter your regex and sample text.
- See matches highlighted and use flags to modify behavior.
This page does not send your sample text to any server.
Example
Regex: ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ (simple email match)
Test text: user@example.com → Match found
Tip: Test edge cases and use the flags (i, g, m) to modify matching behavior.