Brian Dunning's FileMaker Custom Functions

ValidEmail ( theEmail )

returns valid email or null

  Average rating: 4.3 (30 votes) Log in to vote

Roger Biel   Roger Biel
2Geckos Consulting, LLC

Share on Facebook Share on Twitter

  Sample input:
this is my email 2Geckos
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This script is very useful to extract a valid e-mail address from text.



Austin Burbridge   Austin Burbridge, Los Angeles
May 2, 2012
This wants the <stripReserved> function, which is not here!

Also, this validEmail is required by validURL, which is not mentioned in the validURL post
Roger Biel   Roger Biel, Casa Grande, Arizona
May 2, 2012
I've uploaded the stripReserved function, i thought i had already uploaded it.
Keawe Wong   Keawe Wong, Toronto
Jan 6, 2018
Awesome function! But the _ValidTopLevelDomains is many moons ago. Here is the more updated list:

And here is the function to convert the list:

Substitute ( $$TLDs ; [" "; Quote(¶)]; ["\"" ; "" ])

// put the top lebel domain list in $$TLDs

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: