Regex from Examples
Paste a few example strings that should match and a few that shouldn't — the tool generates a regex pattern that handles both, plus a one-line plain-English explanation of what it matches. Works for emails, phone numbers, log line patterns, URL shapes, IDs, or any custom string format. Powered by Amazon Nova Micro on AWS Bedrock.
Tips for better results
- • Give at least 3-5 matching examples that vary
- • Include near-miss negatives (subtle differences)
- • One string per line, no commas or quotes
- • The more varied your matches, the tighter the regex
- • Test the output against your real data
- • Works for any engine (JS, Python, Go, PCRE)
Related Tools
CLAUDE.md Generator
Describe your project in 1-2 sentences and get a structured CLAUDE.md. AI-powered by Amazon Nova Micro. Free, no login.
Markdown Table Generator
Generate Markdown tables visually. Free online Markdown table generator with a spreadsheet-like interface.
Table of Contents Generator
Generate a Markdown table of contents from your document. Free online TOC generator with anchor links.
README Generator
Generate a professional GitHub README.md. Free online README generator with templates and badges.
About Regex from Examples
Give 3-5 strings that should match and 3 that shouldn't. Nova Micro generates a readable regex that fits. Free, no login. This tool runs entirely in your browser — no data is sent to any server. Your content stays private and secure. MarkdownMe provides free, fast, and reliable Markdown tools for developers, writers, and anyone who works with Markdown.