Steps to setup:
- Download the file " universal_find_replace.zip" and unzip it (you can do
unzip universal_find_replace.zipin the Terminal or right-click and decompress from the GUI.
- Click the Universal Find + Replace. and install it
- Set a keyboard shortcut to invoke it, or use the Services dropdown by right-clicking after selecting some text (see image below for the preference pane).
NOTE: Safari 14 broke the functionality to "Output replaces selected text"; therefore this script uses a workaround of copying the output to the clipboard. As of today, you'll then need to paste this back in on Safari 14; it will automatically replace the text in other apps. See this link for more info.