Programming - PHP - Discussion

You Are Here :: Home > Programming > PHP - Discussion

 



Q.

Which of the following regular expressions can be used to check the validity of an e-mail addresses?  .                          


A. ^[^@ ]+@[^@ ]+.[^@ ]+$ B. ^[^@ ]+@[^@ ]+.[^@ ]+$
C. $[^@ ]+@[^@ ]+.[^@ ]+^ D. $[^@ ]+@[^@ ]+.[^@ ]+^

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion