Validate Textbox Input to be only Alphabets and number

Hi 

I am having a batch code text box, when user entered value in it need to validate. Value entered should  be in the following format   ##CCC#CC (# is number and C is alphabet).

Any way i can do this, or code for validating input to be in the above format. 

Thnaks

Priya

Related
Recommended