Test regular expressions with real-time match highlighting, flag toggles, match details and replace mode. All processing runs in your browser.
This tool uses the JavaScript RegExp engine built into your browser. JavaScript regex syntax follows the ECMAScript standard - it supports most common PCRE features but not lookbehind in older browsers, atomic groups, or possessive quantifiers.
Flags: g (global) finds all matches rather than stopping at the first; i makes matching case-insensitive; m makes ^ and $ match line boundaries; s (dotAll) makes . match newline characters.