Code: Select all
str_replace(',','.',preg_replace("/[^0-9,]/",'',$array[42]))
I do it on array 8,42 and 43
they can have the following strings:
2Â 840kr
68kr
1Â 134,00 kr
860,00 kr
Moderator: General Moderators
Code: Select all
str_replace(',','.',preg_replace("/[^0-9,]/",'',$array[42]))