Introduction
Regular expressions are powerful but tricky. Testing them properly requires live highlighting and match details.
This tool tests JavaScript regex patterns with live highlighting, match details, and positions.
Flags: g · i · m · Highlights: All matches
How to Use
- Enter your pattern
Between the slashes. - Set flags
g = global, i = case-insensitive, m = multiline. - Paste test text
Matches are highlighted automatically.
Live feedback: See matches and capture groups as you type.
About This Tool
Uses the native JavaScript RegExp engine — so behavior matches exactly what your code will do.
Privacy
All processing is local.