Quick Regex Reference
Character Classes
. | Any character except newline |
\d | Digit (0-9) |
\w | Word character (a-z, A-Z, 0-9, _) |
\s | Whitespace |
[abc] | Any of a, b, or c |
[^abc] | Not a, b, or c |
Quantifiers
* | 0 or more |
+ | 1 or more |
? | 0 or 1 |
{3} | Exactly 3 |
{3,} | 3 or more |
{3,5} | Between 3 and 5 |
Anchors
^ | Start of string |
$ | End of string |
\b | Word boundary |
Groups
(abc) | Capture group |
(?:abc) | Non-capturing group |
a|b | a or b |
About Regex Tester
Test and debug regular expressions in real-time. Perfect for developers, data analysts, and anyone working with pattern matching. Supports JavaScript regex syntax with live highlighting and match details.
Real-time pattern testing
Live match highlighting
Capture group visualization
Common pattern templates
Detailed match information
Auto-test on input change
Common Use Cases:
- Validate email addresses and URLs
- Extract phone numbers from text
- Parse log files and data
- Validate form input patterns
- Search and replace operations
- Test regex before using in code

