<?php $value='0.00%';$str = 'Price: 0.00%';echo preg_replace('/(?<!\w)' . preg_quote($value, '/') . '(?!\w)/i', '- ', $str);
Standard input is empty
Price: -
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!