I have table with comments like this
'Payment amount: 11000,50 from 144232'
'Payment amount: 13 450,20 from 144232'
Sometimes white spaces occurs in number, because people typing this manually. I need to get first numbers like 11000,50 and 13 450,20 from example.
I'm trying to use
regexp_replace('Payment amount: 11000,20 from 144232','([a-zA-Z:\s])','','g') and get result '11000,20144232', but I need only '11000,00'
How can I improve regex or what function I need to use to get this numbers?