Regex Tester
Test regular expression patterns and find matching items. View results in real-time and configure flags.
Regex Pattern
//g
Test String
Results
Enter a regex pattern.
Quick Reference
. = Any character
\d = Digit (0-9)
\w = Word character
\s = Whitespace
^ = String start
$ = String end
\b = Word boundary
* = 0 or more
+ = 1 or more
? = 0 or 1
{n,m} = Range
[a-z] = a-z range
[0-9] = 0-9 range
(a|b) = a or b
(abc) = Group
Privacy Notice
All regex testing is performed in your browser. Your input data is never sent to any server.