Adding trr/catch to handle errors with replaceNoCase that can be caused by some utf chars