Test and debug regular expressions instantly. Enter a regex pattern and sample text to see matches, groups, and results in real-time. Perfect for learning regex and validating patterns.
A regular expression is a sequence of characters that defines a search pattern. Regex is used for pattern matching in strings, such as validating email addresses, finding phone numbers, or extracting data from text.
This tool supports common JavaScript regex flags: g (global - find all matches), i (case-insensitive), m (multiline - ^ and $ match line breaks), s (dotall - . matches newlines), and u (unicode support). You can combine multiple flags.
Enter your regex pattern in the pattern field and sample text in the text field. The tool will highlight matches in real-time and show detailed information about each match, including captured groups. Toggle flags to see how they affect the results.
Captured groups are parts of a regex pattern enclosed in parentheses. They allow you to extract specific portions of matched text. For example, in the pattern (\d+)-(\d+), the two groups would capture numbers before and after the hyphen.
Yes! This tool supports all JavaScript regex features, including lookaheads, lookbehinds, quantifiers, character classes, and more. However, very complex patterns with many matches may be limited to 1000 matches to prevent performance issues.
Yes, the tool validates your regex pattern in real-time. If the pattern is invalid, you'll see an error message explaining what's wrong. Valid patterns will show matches and highlights in the sample text.
Instantly encode text to Base64 or decode Base64 strings back to plain text. Perfect for encoding data, working with APIs, or debugging.
Decode and inspect JSON Web Tokens (JWT) to view the header, payload, and signature. Perfect for debugging authentication tokens and understanding token structure.
Convert between JSON and YAML formats instantly. Perfect for configuration files, API documentation, and data transformation. Supports bidirectional conversion with syntax validation.
Generate secure, random passwords with customizable length and character types. Perfect for creating strong passwords for accounts, API keys, and security tokens.
Encode text to URL-encoded format or decode URL-encoded strings instantly. Perfect for encoding URL parameters, query strings, and handling special characters in URLs.
Generate QR codes from text, URLs, or any data instantly. Perfect for sharing links, contact information, WiFi passwords, and more. Download as PNG image.
Generate UUIDs (Universally Unique Identifiers) instantly. Perfect for database IDs, unique identifiers, API keys, and development work.
Convert text between different case formats instantly. Supports lowercase, uppercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
Convert between Unix epoch timestamps and human-readable dates instantly. Perfect for debugging, API development, and working with timestamps in various formats.
Generate cryptographic hashes (MD5, SHA-256, SHA-512) from text instantly. Perfect for data integrity checks, password hashing references, and cryptographic operations.
Preview markdown formatting in real-time. Write markdown text and see the rendered HTML output instantly. Perfect for writing README files, documentation, and formatted text.
Help us improve this tool by sharing your thoughts and rating your experience.