var pathX = "[?:[\w]\:|\\)(\\[a-z_\-\s0-9\.]+]+\.(?:.xml)$"; var Filepath = document.getElementById('<%=txtFolderPath.ClientID %>').value; var matchArray = Filepath.match(pathX); if (matchArray == null) { alert("Please Enter Valid FilePath"); document.getElementById('<%=txtFolderPath.ClientID %>').focus(); return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)