in reply to removing two words and integer

s/of size [0-9.]+//g;

[0-1000] means "any characters between '0' and '1', or a '0', or a '0', or a '0'".