Test and debug regular expressions
Regex Tester lets you try regular expressions against sample text with live matches. Debug patterns for validation, search, or replace before you ship them in code.
JavaScript regular expressions, matching what most browsers and Node use.
Use the tester to verify matches first, then apply replace in your editor or code.
No. Matching runs in your browser only.
Regex Tester lets you try regular expressions against sample text with live matches.
Open the Regex Tester tool, then enter your regular expression and optional flags.