Regular Expression Tester
Test and debug regular expressions with real-time matching and visualization
Regular Expressions Guide
Common Patterns
Basic regex patterns and their meanings:
- \w+
Matches one or more word characters
- \d+
Matches one or more digits
- [a-zA-Z]
Matches any single letter
Flags
Regex modifier flags and their uses:
- g (global)
Find all matches rather than stopping after the first match
- i (ignore case)
Case-insensitive matching
- m (multiline)
^ and $ match start/end of each line
Related Tools
JSON Formatter
Format and validate JSON.
Base64 Converter
Encode/decode Base64.
URL Encoder
Encode/decode URLs.
HTML Encoder
Encode/decode HTML entities.