Basically I have a little form on my site, and when I submit it, I want php to check if the email input <input type="text" name="destinationMail"> is matching the correct email regex pattern, which is : [a-Z0-9.]+[@][a-Z]+[.][a-Z]{3}
And I know that there are functions in PHP that check for a correct email (I think), but I'd like to use a regular expression for this.
Thanks.
[email protected]or '[email protected]`.[email protected]. And also, I am not sure, but shouldn't it be[A-z]instead of[a-Z]?type="text"