Lasso Soft Inc. > Home

[ Email_FindEmails ]

Method

[Email_FindEmails] is a utility method that is used internally by the email sending system. The method takes a string parameter and returns an array of email addresses contained in the string.

  • Syntax
email_findEmails('string')
Examples
  • Beginner

Find all emails in a block of text

The code below will pull all the emails out of a string.

Code

email_findEmails('John Doe <jdoe@example.com> would be wonderful for jane.smith@domain.org')

Result

array('jdoe@example.com', 'jane.smith@domain.org')

Recent Comments

">

Posted on: 19 August 2019

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft