3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $headline = 'aaa 10€'; echo preg_replace('/\b[0-9,]+\s*[%€]+/iu', '{VALUE}', $headline);
Output for 4.3.3 - 7.1.0
aaa {VALUE}
Output for 4.3.0 - 4.3.2
aaa 10€