Regex Tester
Developer ToolsLive regex with match highlights
Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.
Similar tools you may like
History
All history →Regex Tester — at a glance
Write a regular expression and see live which parts of your text match it.
How to use it — step by step
Great for learning regex and for checking patterns before putting them in code.
Write the pattern
Type your regular expression without the surrounding slashes.
Pick flags
g = all matches, i = ignore case, m = multi-line, s = dot matches new line.
Add test text
Paste the text you want to search.
See matches
Matches are highlighted with their position and capture groups.
Pro tips
Small things that make the result better.
Quick facts
Frequently Asked Questions
What is Regex Tester?+
Test regular expressions with live match highlighting, flag toggles (g, i, m, s), and detailed per-match output showing index positions and capture groups. Errors shown in real time.
How do I use Regex Tester?+
Open Regex Tester on this page, then: 1. Write the pattern 2. Pick flags 3. Add test text 4. See matches. Everything runs in your browser on a phone or computer.
Is Regex Tester free to use?+
Yes. Regex Tester on Toolcloak is free, needs no signup and has no hidden limits.
What does the g flag do?+
It finds all matches in the text instead of stopping at the first.
What does i do?+
It makes the match ignore upper/lower case differences.
Which regex flavour is used?+
The JavaScript regular expression engine of your browser.
Is my data safe?+
Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.
Also searched as: regex tester · regex online · regular expression tester · regex checker · test regex · regex101 alternative

