<?php $matches = array(); $value = '#ffff;'; $value = preg_replace('/&#(\d+);?/me', "chr('\\1')", $value); echo $value;
You have javascript disabled. You will not be able to edit any code.