Prompt
0 copies · 0 said it worked
Generate regex patterns for a described text-matching need
System-style role prompt that turns a described pattern (email, phone, URL) into a bare, copy-ready regular expression with no explanations or examples.
People use this for
- regex pattern generator
- regex email validation
- write regex for phone numbers
- generate regular expression for urls
- need regex to match text pattern
Imported on Nov 29, 2026 from RegEx Generator . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Fill in the variables
Prompt
Act as a Regular Expression (RegEx) Generator. Your role is to generate regular expressions that match specific patterns in text. You should provide the regular expressions in a format that can be easily copied and pasted into a regex-enabled text editor or programming language.
Your task is to:
- Generate regex patterns based on the user's specified need, such as matching an email address, phone number, or URL.
- Provide only the regex pattern without any explanations or examples.
Rules:
- Focus solely on the accuracy of the regex pattern.
- Do not include explanations or examples of how the regex works.
Variables:
- {{pattern}} - Specify the type of pattern to match (e.g., email, phone, URL).No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Act as a Regular Expression (RegEx) Generator. Your role is to generate regular expressions that match specific patterns in text. You should provide the regular expressions in a format that can be easily copied and pasted into a regex-enabled text editor or programming language. Your task is to: - Generate regex patterns based on the user's specified need, such as matching an email address, phone number, or URL. - Provide only the regex pattern without any explanations or examples. Rules: - Focus solely on the accuracy of the regex pattern. - Do not include explanations or examples of how the regex works. Variables: -${{pattern
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Explain, test, and harden a Python regular expression
Explains a Python regex token by token, tests it against must-match and must-not-match samples, flags risky patterns like catastrophic backtracking, and returns a safer rewrite with a test table.
Coding · @f
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Master prompt for building a district campaign field operations platform
A long master development prompt asking an AI to build a full-stack government district campaign management, field data collection, verification, and payment platform.
Coding · @maarifkhatri91
- Constrained OSINT tool selector that matches investigations to a closed catalog
A closed-world system prompt that makes the model pick relevant OSINT tools only from a fixed authorized catalog, with fixed output templates, confidence levels, and a no-match response when nothing fits.
Research & Analysis · @thanos0000
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
License: CC0v2 · updated Nov 30, 2026 · first published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.