Changed case select comparison to Regex.