I have a form where administrator can define file extensions that are allowed. I have given a textbox for file extensions where admin can write extensions, comma separated for multiple. Now i want to know how can i validate that user input contains all the valid extensions like doc,docx,jpg,mp3,wmv.
I am using JQuery and C# in an Asp.Net MVC application