I have an output which is of the format
weight:121p height:6f money:5 update:8 read:62b query:132 etc
I want the output to be without the units like
weight:121 height:6 money:5 update:8 read:62 query:132 etc
I tried | tr "p", " "
etc but the problem is it removes every occurrence of the letter p in the output.
I only want to remove the units after the colon. What is the best way to go about solving this issue?