Home βΊ All Tools βΊ Regex Tester
π Regex Tester
Test regular expressions against your text, live. Free to use β no sign-up, and your files stay on your device.
What is this tool?
Regular expressions are powerful but fiddly β one wrong character and nothing matches. Type your pattern and some test text, and see every match listed with its position, so you can fix the pattern before it goes into your code.
How to use it
- Type your regex pattern and flags
- Paste the text to test against
- Press Test and review the matches
Frequently Asked Questions
What do flags like g and i mean?
g means find all matches, not just the first. i means ignore capitalisation. m makes ^ and $ work per line. Combine them as needed, like gi.
Is this tool free?
Yes β completely free, with no sign-up, no daily limit and no watermark on your result.
Are my files uploaded to a server?
No. Everything happens in your own browser, on your own device. Your files never leave your computer or phone.
Does it work on a phone?
Yes. The tool works on phones, tablets and computers β just open this page in your browser.