mardi 5 janvier 2021

How can I use the preg_match function to search a string for a valid email address? [duplicate]

I'm very new to PHP and working on my first project. I'd like to validate a users email address (using the preg_match function) by searching for a single '@' symbol within the input string.

I've searched around and I can't seem to find a solution. That being said, sorry if this has already been answered.

Aucun commentaire:

Enregistrer un commentaire