Remove specific text and spacing from clipboard entry

Please provide real-world examples of both the before and after processing by KM.
Put each in a Code Block, using "text" as the language.