Hi All,
Please help me with the below.
If I have the following value for a variable as below:
COMMENT
Point 7 was omitted due to error
Stone was 1mm, hence point 89 was populated
15 point is available in page 2
74-66 point has 45 errors
In the above variable COMMENT, I have 4 observations and would like to replace 'point 7', 'point 89', '15 point' and '74-66 point' with some other character without removing the other numbers like 1 in 1mm, 45 etc and my output should be as below.
COMMENT
XXX was omitted due to error
Stone was 1mm, hence XXX was populated
XXX is available in page 2
XXX has 45 errors
Can anyone help ?
... View more