Guys,
I am tyring to use regular expression for validation of files...
Here is what regular expression MUST do...
All files must start with an alphanumeric character (0-9, a-z, A-Z)
All files must end with xls, doc, ppt.
Here is what I have I gotten so far...
^[0-9a-zA-Z]{1} > this will take care of the first caracter to be alphanumeric.
I am having problem with the extension of the file. I was thinking if I do [xls,doc,ppt]$ it will work... But it doesn't....
I want help creating one expression that will handle both in one notch... If needed I can do a second validation, but need the expression to validate the ending...
Please advise,
Shrini