updated replace function to include slash and backslash
modified the fieldCharsToReplace to remove a bug