I have a text file in which I have certain numbers of the type-
a.bcdef0000000000000e+05
where a,b,c,d,e,f can take any values in 0-9. I want to find all of them and replace their value with abcdef i.e. 6 digits without the decimal point. How can I do it using regex in Linux or an editor like Sublime Text?