GetEmailAddr ( Text )
Extracts email addresses from text
Average rating: 4.7 (22 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Adapted from Daniele Raybaudi's GetEmail function.
It extracts all email addresses from text.
Added a substitution filter for common characters found surrounding email addresses. Recursive function.
Thanks, Daniele Raybaudi for GetEmail!
12/17/2013 Added some more characters to filter out and fixed GetEmailAddr ( nextText )
10/22/2014 Corrected for blank line if no email addresses.
Dec 17, 2013
|Small correction, toward the end GetEmail ( nextText ) should be GetEmailAddr ( nextText )|
Till Seelemann, Leipzig, Germany
Oct 16, 2014
If you have only one address in the text, a blank line appears at the end of the result. Solution:
count > 1; word & "¶" & GetEmailAddr (next text);
count = 1; word;
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.