i have ID numbers that i want to enter it into my database using filling form by user. so i need to validate this number format. number format should be like this. first 9 numbers and after nine numbers it must have a letter V. (123456789V) i need to validate this number format when entering to form. i use array and chk the array for number format. bt its too long coding format.. anyone can give me a short code.please any one can help mee..