DevToolbox

Regex Tester

Test and debug regular expressions with live matching

//
Test String
Loading...
Results

Enter a regex pattern and test string

Related tools

What is regex testing?

Regular expressions (regex) are patterns used to match character combinations in strings. This tool lets you write a regex pattern and test it against sample text with instant visual highlighting of matches, captured groups, and match indices. All processing runs in your browser using JavaScript's native RegExp engine.