Finding and replacing text can be helpful when editing your notes. For example, if the name of a project changed, you can easily go in and replace all instances of the project name with the new one.
In OneNote, you can use instant search to find specific text, and then replace it with different text using a keyboard shortcut.