Is there a way I can find and eliminate the hidden characters in my sketch?
Copy the code in your sketch then paste the copied sketch lines into a text file.
Open the text file and copy the lines, then paste them back into a new sketch in the IDE editor.