hi guys,
any help for this...
Code:
<a href = 'ymsgr:sendim?your_yahoo_id'>Send me a message</a>
How should i know if the email field is yahoo mail address?
hi guys,
any help for this...
Code:
<a href = 'ymsgr:sendim?your_yahoo_id'>Send me a message</a>
How should i know if the email field is yahoo mail address?
See if it matches a yahoo domain:
A simple implementation would look like this - it's not foolproof (matches [email protected]), but I don't think it has to be:
if (preg_match('/@yahoo\./i'))
Hi,
you can use RegEx Patterns, to check the link for a yahoo e-mailadress.
Sample (Modified RFC 2822 Standard)
[a-z0-9!#$%&'+/=?^
{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_
{|}~-]+)*@yahoo{1,1}?.a-z0-9?