Regex Tester

Test and debug regular expressions with live highlighting. Supports flags and capture groups.

//
gim
Active Flags
https://github.com/tailwindlabs/tailwindcss Check out http://localhost:3000 for testing. Visit https://google.com or http://toolkitscenter.com.

Match Information

0 Matches

No matches found. Try adjusting your pattern or flags.

Regex Cheat Sheet

.Any character
\dDigit [0-9]
\wWord [a-z0-9_]
\sWhitespace
^ / $Start / End
* / +0+ / 1+ times
?0 or 1 time
{n,m}n to m times
()Capture group
(?:)Non-capturing
[abc]Character class
a|bAlternation

Need help with Regex?

Learn how to master pattern matching and text extraction with our expert guide on classes, quantifiers, and anchors for secure data validation.

Read our Regex Guide