In the Substitutions window, select the Text Replacement checkbox, then click Text Settings.
macOS Ventura 13 or later: In the Keyboard setting, go to Text Input, then click Text Replacements.
macOS 12 or earlier: In Keyboard preferences, click Text.
Click Find and replace text in Keynote on Mac