Validating file extension with regularexpressionvalidator Virgin sexchat
For example, perhaps you are allowing users to upload a profile image.
You certainly don’t want them to be capable of uploading an executable file!
Now you can ask questions directly to me on my new site ASPForums.
Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.
The file name can be alphanumeric.extention can be .jpeg|.
BITMAP tried below two expresssion and both are not working.
To validate only the video file, I provide the regular expression for video file formats to the validation control and some properties of the validation control to validate the file upload control.
It will automatically validate the extension of the uploaded file before the page is posted back.
Here I will show you regular expressions for various file formats to validate a file upload.
Unfortunately we cannot simply ignore case in the expression.
The Regular Expression Validator does not have an option to ignore case and the ASP.