This topic is locked

Bug in regex Email Validation

1/15/2020 5:23:36 PM
PHPRunner General questions
E
eexplore author

Hi Team,
As you may know, space character is not allowed in email address. Unfortunately Email validation in "Validate as" accept it in PHPR 10.3. More specifically, space is actually allowed in left part of the email address and not in the domain part.

Maybe a bug to solve in future release :-)
All my best and thanks again for this fabulous software...

Phil

E
eexplore author 1/15/2020

Since these days domain names use up to 13 characters as domain name like .international, i suggest the following regex:

/^\w+([\.-]?\w+)@\w+([\.-]?\w+)(\.\w{2,13})+$/
All my best,

Phil