CUBSOFTWARE// CUB // CORRUPTED
Free tool// Developer tools

Regex Tester

Write a regular expression and see what it matches as you type.

Runs in your browser No signup Free, no limits
/ /

Quick Reference

Character Classes

.Any character
\dDigit [0-9]
\wWord [a-zA-Z0-9_]
\sWhitespace
[abc]a, b, or c
[^abc]Not a, b, or c

Quantifiers

*0 or more
+1 or more
?0 or 1
{n}Exactly n
{n,}n or more
{n,m}Between n and m

Anchors

^Start of string
$End of string
\bWord boundary

Groups

(abc)Capture group
(?:abc)Non-capture
a|ba or b
[ 01 ] // what it does
  • Matches highlighted as you type
  • Capture groups listed
  • Flags explained
[ 02 ] // your privacy

● Runs in your browser

Runs entirely in your browser: nothing you put in is uploaded.