Home » Developer Tools » Regex Tester
Test regular expressions live - matches highlighted as you type.
BotixTech's free regex tester helps you build and debug regular expressions with instant feedback. Type a pattern, paste a test string, and every match lights up as you type.
Toggle flags like global, ignore-case and multiline, inspect capture groups per match, or start from a common preset like email or URL validation.
A regular expression (regex) is a mini language for describing text patterns. Developers use it to validate emails, find phone numbers, extract data and rewrite text.
All six JavaScript flags: g (find every match), i (ignore case), m (^ and $ match line starts and ends), s (dot matches newlines), u (unicode mode) and y (sticky matching).
The exact JavaScript error is shown above the results. The usual cause is an unescaped special character like an unclosed bracket or a stray backslash.
No. The regex engine is your browser's own JavaScript engine, so your pattern and test text never leave your device.
Comparing two versions of text? Use our diff checker.