Hello All,
I'm writing a method that evaluates a MIME type and then returns a enumeration type based on the given MIME type...However, My regular expressions don't seem to be working (probably due to my experience with them...)
Any help would be immensely appreciated.
Private Function DetermineFileType() As FileTypes
Dim fileType As FileTypes
Dim imageRegex As New Regex("^[image]\+$")
Dim audioRegex As New Regex("^[audio]+\++$")
Dim videoRegex As New Regex("^[video]+\++$")
...
Go to the complete details ...