Toolwinder
🧪

Regex Tester

Test regular expressions with live matching, replace, and capture groups. Runs completely in your browser.

Loading tool…

About This Tool

Tests a regular expression against sample text with live match highlighting, capture groups, and a replace mode that supports $1-style references. Toggle flags like global, case-insensitive, and multiline to see exactly how they change the match.

Frequently Asked Questions

Which regex flags are supported?+
Global (g), case-insensitive (i), multiline (m), dot-all (s), and unicode (u). Toggle any combination and matches update live.
Can I see capture groups for each match?+
Yes. Every match lists its numbered and named capture groups below the match text.
Does the Replace mode support capture group references?+
Yes, use $1, $2, etc. in the replacement field to reference captured groups from your pattern.

Related Tools

🧩
JSON Formatter
Beautify, minify, validate, and explore JSON with a tree viewer
🕓
Timestamp Converter
Convert between Unix timestamps, ISO 8601, UTC, and local time
🔁
Encoding & Decoding
Encode and decode Base64, URL, HTML entities, Unicode, and Hex
🎨
Color Tools
Convert HEX, RGB, RGBA, and HSL, pick colors, and generate palettes