c# regex case insensitive code example
Example 1: regex string case insensitive
(?i)(STRING_TO_CHECK)
Example 2: how to check if a string contains a capital letter c#
using System.Linq;
str.Any(char.IsUpper);
(?i)(STRING_TO_CHECK)
using System.Linq;
str.Any(char.IsUpper);