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 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.

