I have this code snippet that is part of an e-mail validation:
[php]$email_pattern =
‘/^[^@s]+@([-a-z0-9]+.)+[a-z] {2,}$/i’;[/php]
I don’t understand the purpose of some of the symbols in the second line. Where is the best place to go to get a break down on what it does?
I understand part of it, but the first bracket, the carets, and the curly braces section are confusing to me.