Swelıty
Tools for everyone

developer tool

Regex Tester

Test and debug regular expressions instantly. Supports global, multiline, and case-insensitive flags. Execute patterns against text completely locally.

Processing happens completely locally in your browser. Regular expressions and test texts are never sent to a server.
//g

Result

Highlighted matches will appear here.

Match Details

Match details will appear here.

Quick Reference

PatternDescription
.Any character except newline
\dDigit (0-9)
\wWord character (a-z, A-Z, 0-9, _)
\sWhitespace
[abc]Character class
^ / $Start / end of line
* / + / ?0+, 1+, 0 or 1
{n,m}Between n and m times
(group)Capture group
(?:group)Non-capturing group
a|bAlternation (a or b)