Hey, I have the following regex pattern to validate emails but I don't really understand it. Anyone who can explain it to me in basic terms? I've only just started with this really:
ThanksPHP Code:preg_match('/^[^0-9][A-z0-9_-]+[@][A-z0-9_-]+([.][A-z0-9_-]+)*[.][A-z]{2,4}$/',$email)
![]()



Reply With Quote

Bookmarks