added case insensitive search and replace for strings