Regex operator question

@berkaykor
regex.isMatch will return true when pattern is found
in your case if mistake or error is found in the string (Case insensitive) it will return true

About second question. Here regex101 is helping much:

As the | is executing as Or and checks not that all patterns are matching, we can do following:

RegEx_AllPatternsDoMatch.xaml (4.8 KB)

Have also a look on this:

3 Likes