Extract data · Easy
Pull out email addresses
A message may contain email addresses mixed with other text.
Task
Write a prompt that lists every email address in the text.
Output format
<email1>,<email2>,…
- In the order they first appear, in lower case, each one only once.
- Do not include a full stop at the end of a sentence.
- If there are none, return NONE.
Your prompt must contain {input}: it is replaced by each test case, just like the hidden tests in a hiring test.
Sample case 1
Input
Contact [email protected] or [email protected] for help.
Sample case 2
Input
Write to [email protected]. Again: [email protected]
Output
[email protected]
There are 4 test cases in all; the others are like hidden tests: work out what tricky inputs they might use!