Regex Tester
Live JavaScript regular expression tester. Type a pattern and test string — matches highlight as you type.
//
Match count: 0 · Groups: —
Pattern error
Common flags
g— global; find all matches (default is just the first)i— case-insensitivem— multiline;^and$match start/end of each lines— dotall;.matches newlinesu— unicodey— sticky; only match fromlastIndex
Engine
Uses your browser's native ECMAScript regex engine via new RegExp(pattern, flags). Supports lookbehinds (?<=…) in modern browsers. For PCRE-only features (recursion, named subroutines), use a server-side regex tool — JustKit can't help.
No tracking, no signup. Your pattern and test string never leave the browser.