Find dates and rewrite them
Pattern (?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2}) with the g flag finds both dates. The replacement $<day>/$<month>/$<year> uses the named groups:
Invoice 2026-10-07, due 2026-11-06.Invoice 07/10/2026, due 06/11/2026.See every match highlighted as you type, with numbered and named groups and a live replacement preview.
Free, no sign-up. Runs in your browser: nothing is uploaded.
Everything you type is calculated by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Regex Tester is safe for private and work data, and it keeps working offline once the page has loaded. How local processing works
Pattern (?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2}) with the g flag finds both dates. The replacement $<day>/$<month>/$<year> uses the named groups:
Invoice 2026-10-07, due 2026-11-06.Invoice 07/10/2026, due 06/11/2026.Add the g (global) flag. Without it, JavaScript stops after the first match.
This tester uses JavaScript regular expressions. Most syntax is shared, but lookbehind, named groups and flags differ slightly between languages.
No. This tool runs entirely in your browser. Nothing you type or open is sent to a server, so it is safe for private and work data, and it keeps working offline once the page has loaded.
openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.