Sure, just use a RegEx Replace Action:
Example Output
MACRO: Remove All puncation from Clipboard [Example]
~~~ VER: 1.0 2019-09-18 ~~~
Requires: KM 8.2.4+ macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))
DOWNLOAD Macro File:
Remove All puncation from Clipboard [Example].kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.