Can you please tell me how to correctly make a regular expression to replace a point with a comm between two digits in a sentence. For example:
Text text 119.20 text. Text text.
to
Text text 119,20 text. Text text.
I found such an example, but this expression incorrectly handles 4-digit numbers.
preg_replace('/([\d]).([\d])/','$1,$2',$example);