Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex to find emails

function extractEmails (text) {
  return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+.[a-zA-Z0-9_-]+)/gi);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #find #emails
ADD COMMENT
Topic
Name
3+4 =