/utils/regex

๐Ÿ” Regex Tester

Test and debug regular expressions in real-time.

Pattern

/ /
g global i case-insensitive m multiline s dotall

Test String

Results

๐Ÿ”

Enter a pattern and test string

Quick Reference

Characters
. any character
\d digit
\w word character
\s whitespace
Quantifiers
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m
Anchors
^ start
$ end
\b word boundary
Groups
(abc) capture
[abc] char class
a|b alternation