I need to extract all matches decimal numbers from string in SAP HANA
the text: LOREN IPSUM DOLOR SIT AMET 73,89 X 339,85 X 0,08 CBC70° 1000/2,5
with
substr_regexpr('(\d(.*?)([\.\,]\d{1,3}))' in "Field" group 1
I extract only 73,89 from text.
with
\d(.*?)([\.\,]\d{1,3})+\d(.+?)([\,]\d{1,3})+\d(.*?)([\,]\d{1,3})
I extract the 3 values together: 73,89 X 339,85 X 0,08
I need to extract this, but I am unable to do so.
substr_regexpr('(\d(.*?)([\.\,]\d{1,3}))' in "Field" group 1 ==> 73,89
substr_regexpr('(\d(.*?)([\.\,]\d{1,3}))' in "Field" group 2 ==> 339,85
substr_regexpr('(\d(.*?)([\.\,]\d{1,3}))' in "Field" group 3 ==> 0,08
Thanks!