Create a prompt that explains complex regex patterns in plain English.
Create a prompt that takes a regex pattern and explains every part of it in plain English. It should: break down each character/group, provide test strings that match and don't match, and suggest improvements if the regex is suboptimal.
Your prompt is run on this input, and both the result and your prompt are graded against the goal below. Put {input} in your prompt where the sample should go, or just write instructions and the sample is sent right after them.
^(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])[A-Za-z0-9!@#$%^&*]{8,}$Goal: Plain English explanation of password validation regex with test examples
Get personalized hints based on your current progress. Start with gentle hints and progress to more detailed ones.