All tools

Regex Tester

Test regular expressions with live highlighting and capture groups.

Runs locally in your browser
//g
Matches will be highlighted here.

About this tool

Write a regular expression and see matches highlighted in your test text in real time, along with every capture group for each match.

A basic explanation panel breaks your pattern down token by token, and a set of common example patterns (email, URL, IPv4, hex color) helps you get started quickly.

Frequently asked questions

JavaScript's native RegExp engine (ECMAScript), the same one used by Node.js and every modern browser.