Hi,
For example
if your email Id is in the following format
abc.xyz@pqr.com
then use this :
if your email Id is in the following format
abc_xyz@pqr.com
then use this :
if your email Id is in the following format
abc.xyz@pqr.com or abc_xyz@pqr.com or abc-xyz@pqr.com
or abc@pqr.com
then use this :
Thanks,
Raja
For example
if your email Id is in the following format
abc.xyz@pqr.com
then use this :
Code:
(\w+)(\.)(\w+)(\@)(\w+)(\.)(w+)
if your email Id is in the following format
abc_xyz@pqr.com
then use this :
Code:
(\w+)(\_)(\w+)(\@)(\w+)(\.)(w+)
if your email Id is in the following format
abc.xyz@pqr.com or abc_xyz@pqr.com or abc-xyz@pqr.com
or abc@pqr.com
then use this :
Code:
((\w+)(\.|\_|\-)(\w+)|(\w+))(\@)(\w+)(\.)(w+)
Raja