Using Variables in the Inspector

In an object’s inspector, is it possible to insert variables from another object in the scene?

Context:

In my game, you can name your characters. I’m using scriptable objects for the character skills, and one of it attributes is a Skill Description. I’d like this description to be able to use the character’s name in it, which I could do from within a script like this:

skill1.skillDescription = PlayerData.beastName + " likes fire a little too much and this proves it.";

(PlayerData is the game controller, which exists in every scene and contains all the custom variables like character names.)

Is there a way to do this within the inspector of the skill object, or am I going to have to have a separate script somewhere to hold my skill descriptions?

This is the perfect opportunity to use templated strings. For example, you can write your description like so:

"${beastName} likes fire a little too much and this proves it."

And then when you process the description for display, search for "${beastName}" and replace it with PlayerData.beastName.

Thank you! What would be the best way to search for and replace it?