Regex Pattern Builder
Create and explain regular expressions from descriptions
Compatible with:
Gemini 1.5 Pro
467
98
0
Prompt
Create a regular expression for the following requirement:
Description: {{description}}
Examples of valid matches: {{valid_examples}}
Examples of invalid matches: {{invalid_examples}}
Provide:
1. The regex pattern
2. Step-by-step explanation of each component
3. Test cases
4. Common edge cases to watch for
5. Variations for different regex engines if applicable
Run This Prompt
Execute with AI models and see the results