Is It Possible to Search and Replace in the Clipboard Text?

Is it possible to change the text inside the Clipboard to something else?

For example I have this FTP app and when I ask it to copy the path I get something like this:

Danny Wyatt/public_html/forum/audio/demo.mp3

Now what I want is KM to always replace Danny Wyatt/public_html

with https://www.iamdannywyatt

so in the end I get this


Is it possible?

If it's always that, then simply search-and-replace:


If your original path varies in those first two folders (in names or the number of them) you'll be looking for something that either splits on / and recombines to the wanted URL, or a regex replacement. If it does vary, post some more examples of what it might be.