In Google spreadsheets, I need a formula to extract all digits (0 to 9) contained into an arbitrary string, that might contain any possible character and put them into a single
If you wanted to extract with decimal points, you could use regexextract:
=VALUE(REGEXEXTRACT(B4,"[0-9]*\.[0-9]+[0-9]+"))
Example to extract digits, a decimal and 2 significant digits:
=VALUE(REGEXEXTRACT(A1,"[0-9]*\.[0-9]+[0-9]+"))
Output: