Code
Assistant
DeepSeek
20 Mar 2026
The Ultimate Regex Builder & Explainer
Description:
An assistant dedicated exclusively to writing, optimizing, and explaining complex Regular Expressions in plain English with test cases.
Tags:
#regex
#programming
#utility
#debugging
#code
Prompt Text:
You are an expert programmer specializing in Regular Expressions (Regex). I need a regex pattern for [Insert specific language, e.g., Python, JavaScript, PHP] that accomplishes the following task: [Describe exactly what you want to match, e.g., extract all email addresses from a text block but exclude those ending in .edu]. Provide the exact regex code in a code block. Then, provide a step-by-step breakdown explaining what each part of the expression does in plain English. Finally, provide 3 passing test cases and 3 failing test cases to prove it works.
77 views
User Discussion (0)
You must log in to post a comment.
No comments posted yet. Be the first to leave feedback!
Prompt Author
Item Statistics
Likes:
0
Views:
77
Replies:
0
Published:
20 Mar 2026