Sub MatchWildcard(text As String, pattern As String) As Boolean
Dim regexPattern As String = pattern
regexPattern = regexPattern.Replace(".",".")
regexPattern = regexPattern.Replace("*", ".*") '
regexPattern = regexPattern.Replace("?", ".")
regexPattern = "^" & regexPattern & "$"
Dim m As Matcher
m = Regex.Matcher(regexPattern, text)
Return m.Find
End Sub
Classname: wildcardlisting Description: Is used to retrieve a list of files that match your wildcard selections from your selected folder/path. This is an rewitten version of WildCardFilesList II as a Class. The Class will fire Events when it finishes. How to use this Class: Add the file...