What would be the regular expressions to extract the name and email from strings like these?
johndoe@example.com John John Doe &l
use this regex "?([^"]*)"?\s*([^\s]+@.+)
"?([^"]*)"?\s*([^\s]+@.+)
group 1 contains name
group 2 contains email