MarkdownMe

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.

Give 3-5 strings that should match and 3 that shouldn't. Nova Micro generates a readable regex that fits. Free, daily-capped.
51 / 3,000 characters

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)

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.