<?php $text = "[em_08]"; $preg = "/\[em_(\d+)\]/i"; echo preg_replace($preg, "https://v2ex.com/$1.gif", $text);
You have javascript disabled. You will not be able to edit any code.