Regex Tester & Extractor
Type a pattern, flip flags, and see matches appear in real time. Extract groups, replace text, and export results.
Use $1, $2… for groups in replacement.
Ready
Examples:
Highlighted matches
Groups table
Popular picks for dev tools
FAQs
How do I escape characters?
Use double backslashes in the pattern field (e.g., \d, \b) since it’s a plain text input.
How many matches are shown?
Up to 500 for performance. CSV export contains all matches that the engine yields.
Why do results differ from PCRE?
JavaScript follows ECMAScript rules (e.g., no lookbehind on older browsers). Modern browsers support lookbehind; results may vary by engine.