On Windows you can use AutoHotkey and WinClip.ahk which allows to access specific clipboard contents by it’s functions: GetHTML, SetHTML, GetText, SetText.
Maybe you could remove selected formatting by removing selected html tags by
myhtml := RegExReplace(myhtml,"regextoremove")
References: