1.I get the name(main string) and substring from user,i have to check whether the substring is present in the main string,and i have to check how many letters are present ,then case also i have to check.
2.I have to get phone number from textbox,it must be a standard pattern that is 3 digits STD code then number of 6 digits,inbetween thers is one hypen,how i made this please inform.
3.I have to get password between more than 6 less than 24 character,strating one is character last one is symbol how i do this ,explain me