I have a file upload box and I want to make sure that the file listed in the file path is a .doc file. I was trying to use the validate expression "^[\w-]+\.(doc)$" but that doesn't work because the file path may contain a series of slashes (eg. "C:/Files/file.doc").
Any ideas how ti make this work??


Reply With Quote