Validating filenames with regularexpression validator
Purpose Sometimes, it is useful to use regular expressions for validations.
The Regular Expression Validator Html Helper is designed to help developers accomplish this.
The Regular Expression for the ‘Name’ field will be: Here, we have added a hidden span element.This Helper is useful if you want to perform server side operations (like fetching the Regular Expression and Error Message from a database or resource files) and want the validation part to be client-side using the JQuery validaton plugin.Implementation The Regular Expression Validator is an Html Helper built using Extension Methods.Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.