I want to replace "whole" decimal numbers not followed by pt with M.
pt
M
For example, I need to replace 1, 12
1
12