Code Assistant DeepSeek
27 days ago

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
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.
15 views
Comments (0)
Log in to leave a comment.

No comments yet. Be the first to comment!

About the author
Statistics
Likes 0
Views 15
Comments 0
Published 20 Mar 2026