Chat
Coding
Regex helper
A regular expression with a plain-language explanation and examples.
The prompt
Write a regular expression that matches email addresses in a line of text. Explain each part of the regex in a short list, give 3 examples that match and 3 that do not, and mention any edge cases it misses.
Change the details to make it yours: What to match (here: “email addresses in a line of text”).
Best for
- Form validation
- Search and replace
- Data cleaning
Recommended settings
| Mode | One message, one complete answer |
|---|
Try it in AI Compass
Open this prompt in the AI Compass app, change the details and create it with one tap. Creating uses credits; the price is shown in the app before you start.