AI Tools & Generation
Regex Pattern
Create and understand regex patterns
The prompt
Write a regex pattern that matches what I describe. Break down the pattern piece by piece and explain what each part does. Include test cases showing what it should and should not match. Warn me about any edge cases or limitations.
How to use it
Copy the prompt, paste it into ChatGPT, Claude, Gemini or Perplexity, and replace anything in brackets with your own details. The more context you add about your situation, the better the answer.
- regex
- programming
- patterns
