RegEx Builder
Build and test regular expressions with real-time validation
Pattern Builder
Select a common pattern or write your own
g (global), i (case-insensitive), m (multiline), etc.
Test Area
Test your regular expression against sample text
RegEx Guide
Basic Patterns
.
- Any character except newline\w
- Word character [A-Za-z0-9_]\d
- Digit [0-9]\s
- Whitespace character[abc]
- Any character in the set[^abc]
- Any character not in the set
Quantifiers
*
- 0 or more+
- 1 or more?
- 0 or 1{n}
- Exactly n times{n,}
- n or more times{n,m}
- Between n and m times