How to use IsMatch Regular Expression

@Sidney_Vogel
You asked about the isMatch, but we do see your question more related to the Regex Pattern

Have a look here:


we enabled the Case Insensitive RegexOption and reduced the complexitiy of the pattern

grafik
Regex.IsMatch(YourString, "OOO|OUT OF OFFICE", RegexOptions.IgnoreCase)