🔧

Regex Tester

Test and debug regular expressions

Test and debug regular expressions. See matches, groups, and replace results in real-time.

Flags: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode)

Quick Reference

\d - digit (0-9)
\w - word character
\s - whitespace
. - any character
* - 0 or more
+ - 1 or more
? - 0 or 1
[abc] - any of a, b, c
(x|y) - x or y