Create placeholder outside snippets


Is it possible to create placeholders outside snippets? I want a command that paste my string in, but with certain words replaced by placeholders.

Guess it would be doable to create your own placeholder class, but then it would not be able to interact with snippet placeholders.