SyntaxFix
Write A Post
Hire A Developer
Questions
In Java, Regex constructor has
Regex
Regex(String pattern, RegexOption option)
So to ignore cases, use
option = RegexOption.IGNORE_CASE