Testing regular expressions against real data often means pasting log lines, API responses, or user records into a form field on a third-party site. That data sits in someone else's server logs. For patterns that validate email addresses, parse auth tokens, or extract fields from PII-containing logs, that's an unnecessary risk.
formatvault's regex tester runs entirely in your browser using JavaScript's built-in RegExp engine. You can test against any text without it ever leaving your machine.
Patterns are compiled with JavaScript's RegExp constructor as you type. Each match is extracted with matchAll, which returns the full match, all capture groups (named and positional), and — with the d flag — the start/end index of each group. The test string is sanitized with DOMPurify before being highlighted in the output panel.
All six JS flags are supported: g (global), i (case-insensitive), m (multiline), s (dot-all), u (Unicode), and d (hasIndices).