Wednesday, July 21, 2010

Regular Expression for YAHOO...

regular expression for my mail i.d ajith_buddha@yahoo.com

[a-z]*[_0-9]*[a-z]*[@][a-z]*[.][a-z]*

in this from left to right
[a-z]*______ specifies ajith;
[_0-9]*_____ specifies underscore or numeric;
[a-z]*_______specifies buddha;
[@]_________specifies @;
[a-z]*_______specifies yahoo;
[.]__________specifies .(i.e dot);
[a-z]*_______specifies com

No comments:

Post a Comment