Test JavaScript regular expressions against your own sample text and see matches highlighted as you type. Building a regex by trial and error is far faster when you can watch it match in real time, and this tester shows every match, the full list of captured groups and a running count so you know your pattern does what you intend. You can toggle the common flags for global, case-insensitive, multiline and dotall matching, and invalid patterns produce a clear error instead of silently failing. Enter a pattern and paste text to match against. Everything runs in your browser using the native regex engine, so your patterns and the data you test them on are never uploaded anywhere.
It uses the JavaScript regular expression engine, the same one that runs in the browser, so patterns behave exactly as they would in your JS code.
Yes. You can turn on flags such as g, i, m and others, and the matches update live to reflect them.
Yes. It highlights matches in your sample text and shows the captured groups for each match.
Test JavaScript regular expressions against your own sample text and see matches highlighted as you type. Building a regex by trial and error is far faster when you can watch it match in real time, and this tester shows every match, the full list of captured groups and a running count so you know your pattern does what you intend.
Yes. Regex Tester is completely free, with no sign-up and no usage limits.
Yes. Regex Tester runs in any modern web browser. There is nothing to download or install.
Yes. Regex Tester runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/regex-tester)