Input type File validation – Client side
Thinking of allowing only specific file types to be browsed through File Input HTML field?? Here' a simple regex based javascript that can help you out with the solution. It's based on the file extension of file…