1.2k questions
1.4k answers
361 comments
339 users
You can use an inline modifiers (also known as an embedded flags) that are supported by Java regular expression syntax.
To use modifiers/flags added them in the "contains" field with your regular expression. To switch to a case insensitive search add the insensitive flag "i" to your regex like in this example:
(?i).*John.*
See screen shot:
See the JavaDoc for java.util.regex.Pattern for additional details on Java regular expressions, and other modifiers/flags.
References:
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern. html
See also:
Can I use a regular expression to search within the content of messages?
Is there list of Java regular expression errors, causes, solutions?