|
-
Sep 11th, 2002, 03:09 PM
#1
Thread Starter
Addicted Member
Regular expression validation??
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??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|