The Problem: Nonstandard Formatting
toggles the case of the letter under the cursor.
uppercase the letter under the cursor.
Paste the Macro into a Document
paste the macro into the document(below the current line).
"ap
paste the contents of a register after the cursor position on the current line.
Yank the Macro from the Document Back into a Register
the dd command performs a line-wise deletion, the register contains a trailing ^J character. this character represents a newline.
As a precaution, using a character-wise yank:
yank every character on that line except for the carriage return.
Discussion
perform the same edit as before.