Extract all email addresses from bulk text using jquery

前端 未结 7 1533
北海茫月
北海茫月 2020-11-28 06:09

I\'m having the this text below:

sdabhikagathara@rediffmail.com, \"assdsdf\" , \"rodnsdfald ferdfnson\" 

        
7条回答
  •  醉梦人生
    2020-11-28 06:36

    You don't need jQuery for that; JavaScript itself supports regexes built-in.

    Have a look at Regular Expression for more info on using regex with JavaScript.

    Other than that, I think you'll find the exact answer to your question somewhere else on Stack Overflow - How to find out emails and names out of a string in javascript

提交回复
热议问题