iGotTools

JavaScript Regex Tester and Replace Preview

Test JavaScript regex matches, capture groups, and replacements locally.

Match summary

2 / /(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/gd

Groups

year 12-162026
month 17-1906
day 20-2230

How to use

  1. 1Add the input or options you want to process with JavaScript Regex Tester and Replace Preview.
  2. 2Check the range, format, quality, or sorting option that controls the result.
  3. 3Compare the preview or computed output with the source input.
  4. 4Copy or download the result, then clear sensitive input when finished.

FAQ