Optimized Regex and case insensitive