我需要从这个邮箱字符串中提取电子邮件地址.我想到了,str_replace但显示名称和电子邮件地址不是静态的,所以我不知道如何使用正则表达式.
str_replace
示例:" My name <email@example.com>"应导致" email@example.com".
My name <email@example.com>
email@example.com
有任何想法吗?
谢谢Matthy
php regex email
email ×1
php ×1
regex ×1