How To Parse All Emails From a String Into an Array With PHP

Handy one for all sorts of reasons, just don’t use it for evil : \. I also did an online working version of this function. It takes a string and returns an array of unique emails parsed out.