⚡ Developer Tools
Regex Tester
"Write and test regular expressions with live match highlighting and detailed explanations."
Advertisement
Quick reference
. — any character
\d — digit [0-9]
\w — word char
\s — whitespace
^ — start of line
$ — end of line
* — 0 or more
+ — 1 or more
? — 0 or 1
{n,m} — n to m times
(abc) — group
[abc] — char class
[^abc] — negated class
a|b — a or b
(?:…) — non-capturing
(?=…) — lookahead
Write a regex pattern and test it against any text with matches highlighted in real time. Supports flags (global, case-insensitive, multiline, dotAll). Shows all matches, capture groups, and match positions. Includes a plain-English explanation of what your pattern does.
📦 Recommended Resources
Handpicked books and tools to go deeper — links may earn a small commission at no extra cost to you.
Advertisement