How to check Skype address validity?

This will check regular Skype address.

if (ereg("^[a-zA-Z]{4,20}$", $skype)) {
echo 'Valid';
} else {
echo 'Invalid;

Tagged with 
About sepedatua
I am nothing special, of this I am sure. I am a common man with common thoughts and I’ve led a common life. There are no monuments dedicated to me and my name will soon be forgotten, but I’ve loved another with all my heart and soul, and to me, this has always been enough.

This site uses Akismet to reduce spam. Learn how your comment data is processed.