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-16
2026month 17-19
06day 20-22
30Replacement preview
Replacement preview
How to use
- 1Add the input or options you want to process with JavaScript Regex Tester and Replace Preview.
- 2Check the range, format, quality, or sorting option that controls the result.
- 3Compare the preview or computed output with the source input.
- 4Copy or download the result, then clear sensitive input when finished.