Currently the only option with $scan and $replace is case sensitive.
An extra optional paramater which determines whether the search must be case sensitive or not. When omitted, it\'s case sensitive (the default).
Using $uppercase and $lowercase to solve this is not enough. Sometimes uppercase and lowercase letters are mixed.