I am trying to find a solution for a regex pattern, that is needed to determine if a word is matching the pattern, but for any variation of it.
For example: The pattern needs to match: "phone", but it also needs to match: "Phone", "PHONE", "pHone", "phOne", etc. So it shouldn't matter the type of case for any position in that string.
Is that possible in regex? Thanks for your time!