Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Regex tester

Test a JavaScript regular expression live: matches highlighted, capture groups in a table, flags, replace, and a plain-English explanation.

Runs in your browserNothing uploadedWorks offline
Loading Regex testerRuns on this device. Nothing is uploaded.

Questions

Which regex flavour is this?

JavaScript, using your browser's own RegExp engine, so results match what your code will do in this browser. Other languages such as PCRE, Python or Go differ in places, for example in lookbehind support and possessive quantifiers.

What happens with a pattern that never finishes?

Matching runs in a background worker. If it takes longer than one second it is stopped and the page tells you, so a pattern with catastrophic backtracking like (a+)+$ cannot freeze the tab.

Why are the d and v flags missing?

They only appear when your browser supports them. d records group positions and v is the newer Unicode sets mode; older browsers do not have them.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.