700+ tools liveZero signupsMade in Bharat 🇮🇳Free foreverPrivacy-first1.2s avg load700+ tools liveZero signupsMade in Bharat 🇮🇳Free foreverPrivacy-first1.2s avg load
🔍

Regex Tester

Test regular expressions with live highlighting. Validate patterns, see matches and groups. JavaScript regex syntax.

🔒100% PrivacyInstant🆓Free Forever📱Mobile Friendly
//g
Valid regex — 0 matches
Contact: [email protected] or [email protected] for support.
📚 Regex cheatsheet
\dAny digit (0-9)
\wWord char (a-z, A-Z, 0-9, _)
\sWhitespace
.Any character
*0 or more
+1 or more
?0 or 1 (optional)
{n,m}Between n and m times
[abc]Any of a, b, c
[^abc]Not a, b, c
^Start of string
$End of string
◆ How it works

Regex Tester3 simple steps

01

Enter regex pattern

Type your regex (without slashes)

02

Pick flags

g (global), i (ignore case), m (multiline)

03

Test against text

See matches highlighted with groups

◆ FAQ

Common questions.

What is regex?

+

Common flags?

+