egrep 正则邮箱

egrep -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b"

egrep -o "\\s*\\w+(?:\\.{0,1}[\\w-]+)*@[a-zA-Z0-9]+(?:[-.][a-zA-Z0-9]+)*\\.[a-zA-Z]+\\s*"

 

posted @ 2017-11-09 13:28  爱热闹的杨小厨  阅读(245)  评论(0编辑  收藏  举报