As GameMaker Studio does not have regular expression functionality yet, it is rather hard to do complex checks. Existing Regular expression Extensions are also usually not cross platform.
This is a GML script to validate if a string is formatted as an email address, this will not check any MX records, it will just provide a small validation client-side to enhance your game's user experience. It works cross-platform.
Remember to also do appropriate checks on your server if you submit the data online.
Use it freely for non-commercial and commercial games as well, no attribution required.
Additional checks to catch cases such as,
email@.com email@-email.com email@_email.com
Version 1.0.1. Published July 19, 2015
Created with GameMaker: Studio v1.4.1598
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!