28 Jun 2017 
Support Center » Knowledgebase » E-Mail ids like
 E-Mail ids like
Solution

In order to alllow e-Mail ids like "XXXX@a.com" "XXXX@asb.co.au" to be validated while registering account, please do the following change:


In the file avactis-system/modules/customer_account/abstract/validator.php,


Replace

  $email_rx = "/^[a-z0-9]+([\.\-_][a-z0-9_-]+)*@[a-z0-9]+(-?[a-z0-9]+)+\.+[a-z]{2,4}$/i";


With

  $email_rx = "/^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z]+[-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/";

 



Article Details
Article ID: 73
Created On: 02 Mar 2013 06:57 PM

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
 Help Desk Menu

Help Desk Software By Kayako eSupport v3.11.01