AdobeStock_455007340

Validating E-Mail Addresses

Need to validate that an e-mail address is formatted correctly? (in ColdFusion 5) can do this for you using the following syntax: VALIDATE=”regular_expression” PATTERN=”[A-Za-z0-9_]+@[A-Za-z0-9_]+.[A-Za-z]+”. This will not validate that the address exists and is usable, but it will make sure that the address is entered as a valid address. (Applies to: ColdFusion 5)

Leave a Reply