<?php echo preg_replace('/#[a-z]\w+/i', '<a href="#">$0</a>', '#11 #f1 #1f #ff');
You have javascript disabled. You will not be able to edit any code.