I want to know if Javascript RegExp has the ability to turn on and off case insensitivity within the regular expression itself. I know you can set the modifier for the entir
According to this reference page, Javascript supports:
No mode modifiers to set matching options within the regular expression.
So the answer is no, you cannot turn case sensitivity on or off within the regular expression.