Zentpal · Free online tools

Regex tester — patterns, meet your text

Write a regular expression, paste the text it should search, and see every match highlighted as you type — with match count, the matched strings and any capture groups listed.

Flags are one tap away: global, case-insensitive, multiline and dot-all. It is the fastest way to build a pattern that actually does what you meant, before it goes anywhere near real code.

Open the free regex tester on Zentpal — free, no sign-in needed, and it runs in your browser.

How to use it

  1. Type your pattern (without the slashes).
  2. Set the flags you need.
  3. Paste test text and read the highlighted matches.

Frequently asked questions

Why does my pattern match nothing?
Usually an unescaped special character: . * + ? ( ) [ ] { } ^ $ | and \ mean something in regex. To match a literal dot, write \. — the tester shows results live, so experiments are cheap.

What are capture groups?
Parts of the pattern in parentheses, remembered separately from the whole match — how you pull the day, month and year out of a date in one pattern. They are listed under each match here.

Which regex flavour is this?
JavaScript’s — the one browsers and Node use. Most everyday patterns behave the same in Python, PHP and Java, with small differences in flags and some classes.

Related free tools

Community feed · Chat rooms · Free tools · Local shops · About · Privacy