<?php echo preg_replace('/\[(\w+):\s?(\w+.\w+)]/',"<$1 src='$2' />","[img: something.jpg]");
You have javascript disabled. You will not be able to edit any code.