Regex Debugger

Examples

Reference

Input
\d+
const regex = /\d+/gm;
const matches = testString.match(regex);

JavaScript regex using RegExp constructor

Test String
Hover over highlights for details
Hello 123 world 456