Skip to tool

Regex Tester

Test JavaScript regular expressions live. Matches highlight in the text, capture groups list below. No signup.

Test string
Matches & groups

      
Ready.

More tools

Regex Tester Dev / SEO tool Current Text Compare Diff two texts Line Counter Count lines Column Extractor Extract columns

Regex Tester

Build and debug JavaScript regular expressions interactively. Change the pattern or input, see matches update live, including capture groups and their indexes.

Flags

This uses JavaScript's native regex engine, which matches ECMAScript 2024 spec. Patterns from other languages (Python, PHP, Perl) may differ slightly.