First, set up a model cell with the replacement formatting. Next, press Ctrl+H to launch the Find and Replace dialog. There, define both the Find What and Replace With formatting by clicking "Choose ...
The tilde isn't the only sign you need to understand to truly get your head around Excel's inner workings. For example, the ...