Regex Generator
Create, test, and validate regular expressions with real-time visualization
Results
No matches found
Quick Reference
^
- Start of line
$
- End of line
\d
- Digit (0-9)
\w
- Word character (a-z, A-Z, 0-9, _)
\s
- Whitespace
.
- Any character except newline
*
- 0 or more
+
- 1 or more
?
- 0 or 1
{n}
- Exactly n times
[abc]
- Any character in set
[^abc]
- Any character not in set
(?=...)
- Positive lookahead
(?!...)
- Negative lookahead