·data
Regex Tester
Pattern + flag chips, live match highlighting, capture group breakdown, replacement preview. Everything runs in your browser — patterns never leave the page.
regex · validation · search
Pattern + flag chips, live match highlighting, capture group breakdown, replacement preview. Everything runs in your browser — patterns never leave the page.
regex · validation · search
The gap between learning regex and using it. Try patterns as you type, watch matches highlight live, see which captures land in which groups.
hello@example.comsales@yigit.devg global · all matches. i case insensitive. m multiline · ^ and $ bind to line boundaries. s dotall · . matches newlines. u unicode · enables \p{...} property escapes. y sticky · matches from lastIndex.
g — only the first match is replaced. text.replace(regex, "x") is one-shot without the global flag.<.+> matches the whole "<a><b>" ; <.+?> is lazy and captures one tag."\\b"; regex literals use /\b/.