Parse Domain in URL
Sample Parse Functionality in Keyboard Maestro
This is a "basic" macro in Keyboard Maestro to split the URL of a new copy text in the Clipboard. This piece of code demonstrates that you don't have to trigger an action in Keyboard Maestro.
In this example the macro is triggered when a URL is pasted in the clipboard. Keyboard Maestro automatically parses the Domain name in the background.
You can change this up to create a hyperlink to this URL or strip everything to the right of the domain name and creates a new entry on the clipboard.