← Back to All Tools
Regular Expression Tester
Test and debug your regular expressions with real-time highlighting and detailed results.
Match Results
Matches will be highlighted here
0 matches found
Regex Cheatsheet
Character Classes
. | Any character except newline |
\w | Word character [a-zA-Z0-9_] |
\d | Digit [0-9] |
\s | Whitespace |
\W | Not word character |
\D | Not digit |
\S | Not whitespace |
[abc] | Any of a, b, or c |
[^abc] | Not a, b, or c |
[a-z] | Character between a & z |
Anchors & Boundaries
^ | Start of string/line |
$ | End of string/line |
\b | Word boundary |
\B | Not word boundary |
Quantifiers
* | 0 or more |
+ | 1 or more |
? | 0 or 1 |
{3} | Exactly 3 |
{3,} | 3 or more |
{1,3} | Between 1 and 3 |
Groups & Alternation
(abc) | Capture group |
(?:abc) | Non-capturing group |
| | Alternation (or) |
Common Examples
Email
URL
Phone Number
Password
IP Address