Regex Generator
Generate regular expressions from common patterns like email, URL, IP, phone, and date. Test against your strings.
Select Pattern
Generated Pattern
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/Matches standard email addresses: starts with alphanumeric/special chars, followed by @, a domain, a dot, and a TLD of at least 2 chars.
Examples: user@example.com, test.user+tag@sub.domain.org
Test Strings (one per line)
Related tools
Regex TesterCode
Test regex patterns with live matches.
Regex EscapeCode
Escape text so it can be safely used inside a regular expression.
Regex Visualizer — Visual Regular Expression EditorCode
Visualize, build, and test regular expressions with a railroad-diagram editor.
Regex CheatsheetCode
Interactive regex reference with searchable patterns, character classes, and examples.
JSON to TypeScriptCode
Generate TypeScript interfaces or types from JSON input.
JSON to Go StructCode
Generate Go structs from JSON with proper json tags.