Create removeDirtyChars