Hi all,
i am trying to write a regular exp for fetching 2 different types of mail id from a single sentence.
e.g - 'my mail id's are dhiraj@gmail.com and dhiraj.kumar@gmail.com'
my pattern search enables me to find either of mail id. like '[a-z0-9.]+@[a-z]+\.[a-z{2,3}] - dhiraj.kumar@gmail.com
'[a-z0-9]+@[a-z]+\.\w+' - dhiraj@gmail.com.
can there be a regex to find both mails.