How to setup a text replacement on iOS
Go to settings -> General -> Keyboard -> Text Replacement -> Tap the + on the top right of screen
In phrase, copy the npubs
In shortcut, choose a shortcut like ztard for example.
Press save on top right corner
Now when you type ztard in a note, all the npubs will be added to your note