Regex Tester Online — Test Patterns & Matches Free
Test a regular expression against your text — enter a pattern and flags, paste the sample text, and see every match listed and counted.
Regex Tester
Test a regular expression against your text — see every match highlighted and counted.
How to use it
- Type your pattern — the example finds email addresses.
- Paste the text to test against.
- Tap “Test regex” and read the match list.
Frequently asked questions
What is a regular expression?
A pattern language for finding text — for example \d+ finds numbers and [A-Z][a-z]+ finds capitalised words.
What do the flags mean?
g finds all matches, i ignores case, m treats each line separately. Combine them, e.g. gi.
Why does my pattern show no matches?
Check for unescaped special characters (. + * ? [ ] must be escaped with a backslash) and that the flags are right.
Is my text uploaded?
No — testing runs entirely in your browser with JavaScript's built-in regex engine.
Related tools
More free tools from ToolsOwl — all browser-only, all safe.
This tool never downloads other people's Facebook, TikTok or Instagram videos. It works only on files and text you provide. See our official download-your-own-video guide.
