Home / Prompts / RegEx Generator
RegEx Generator
Text promptCodingPublic domain (CC0)
54score
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:email} - Specify the type of pattern to match (e.g., email, phone, URL).
Context cost: ≈178 tokens when used.
Why this score
Quality checklist
- Sets a role: yes
- States a clear task: yes
- Gives context: no
- Sets constraints: yes
- Defines the output: yes
- Breaks work into steps: yes
The checklist is automatic and applies the same rules to every prompt. It checks structure, not whether the output is good. Prompt scores aren't comparable with tool scores. How we rank
Security
Scanned Nov 4, 2026 at the text shown on this page, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Similar prompts
Prompts that do the same job, most voted first.
| Name | Votes | Score |
|---|---|---|
| This oneRegEx Generator Coding | ▲ 2 | 54 |
| Story Generator Writing Both about generator and format | ▲ 1 | 52 |