Regex Tester
Test regular expressions with real-time matching.
Regex Tester is a real-time regular expression testing tool. Enter a pattern and test string to instantly see all matches, captured groups, and match positions with highlighted results.
Features
- Real-time pattern matching
- Flag support (g, i, m, s)
- Match highlighting with colors
- Captured group display
- Match count and positions
Usage Example
// Pattern: (\d{3})-(\d{4})
// Test: Call 123-4567 or 987-6543
// Matches: 123-4567, 987-6543
// Groups: [123, 4567], [987, 6543]FAQ
What is regex?
Regular expressions (regex) are patterns used to match character combinations in strings. They are used in search, validation, and text manipulation.
What do the flags mean?
g = global (find all matches), i = case-insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines).
Developer Tools
📋JSON Formatter🗃️SQL Formatter📄XML Formatter🌐HTML Formatter🎨CSS Formatter🔐Base64 Encode/Decode🔗URL Encode/Decode🏷️HTML Escape/Unescape🎫JWT Decoder🆔UUID Generator🔑Password Generator🔒SHA-256 Hash🔏MD5 Hash🛡️HMAC Generator🎨Color Palette⏱️Cron Parser📡HTTP Header Parser🔗URL Parser❓Query String Parser📝Text Diff🔄JSON ↔ YAML📊JSON ↔ CSV⏰Unix Timestamp📅ISO 8601 Date