Creates regex patterns with explanations and match examples
Create a regular expression for the following task:
Task: {description}
Requirements:
- Language/engine: {engine} (JavaScript / Python / PCRE)
- Provide the regex with an explanation of each part
- Show 3-5 example strings that match
- Show 3-5 example strings that do NOT match
- If there are edge cases, point them out
- Suggest a version with named groups, if applicable
0 copies
Variables
Replace these variables with your own values before using: