How to extract email address from a string using perl?

后端 未结 2 1473
南旧
南旧 2021-01-20 19:32

How to extract emails address from a string using perl and to put the email addres into a variable? My strings looks like

Ben Tailor 

        
2条回答
  •  日久生厌
    2021-01-20 20:02

    Start with https://metacpan.org/pod/Email::Valid. It seems to work pretty well.

提交回复
热议问题