<?php echo preg_replace('/#(?!\d++\b)\w+/iu', '<a href="#">$0</a>', '#11 #f1 #1f #ff ddd #22aa c #0');
You have javascript disabled. You will not be able to edit any code.