Standard

Regex Tester

Test a regular expression against sample text, with matches highlighted live.

/ /
Advertisement

About this tool

Type a pattern and some test text, and every match is highlighted live as you type — much faster than testing a regex by running it in actual code and adding console.log statements. Uses JavaScript's native regex engine. Common flags: g (global, find all matches), i (case-insensitive), m (multiline). See the Regex Cheat Sheet for full syntax.