Data cleaning / FREE
Regex Tester
Highlight regular-expression matches and preview replacement text.
HOW TO USE IT
Regex Tester
Enter a JavaScript regular expression and flags. Inspect each match and capture group, then review the replacement preview.
What to know
Matches use the browser’s JavaScript regex engine. The g flag finds all matches; without it replacement affects the first match. Replacement supports JavaScript tokens such as $& and $1. Expressions run in a worker and stop after two seconds so pathological patterns cannot freeze the page.