rendered paste body$text = preg_replace("/<a href=\"(.*?)\" title=\"(.*?)\" class=\"(.*?)\">(.*?)<\/a>/si","[a href='\\1' title='\\2' class='\\3']\\4[/a]", $text);
$text = preg_replace("/<a href=\"(.*?)\" class=\"(.*?)\" title=\"(.*?)\">(.*?)<\/a>/si","[a href='\\1' title='\\3' class='\\2']\\4[/a]", $text);
$text = preg_replace("/<a title=\"(.*?)\" href=\"(.*?)\" class=\"(.*?)\">(.*?)<\/a>/si","[a href='\\2' title='\\1' class='\\3']\\4[/a]", $text);
$text = preg_replace("/<a title=\"(.*?)\" class=\"(.*?)\" href=\"(.*?)\">(.*?)<\/a>/si","[a href='\\3' title='\\1' class='\\2']\\4[/a]", $text);
$text = preg_replace("/<a class=\"(.*?)\" title=\"(.*?)\" href=\"(.*?)\">(.*?)<\/a>/si","[a href='\\3' title='\\2' class='\\1']\\4[/a]", $text);
$text = preg_replace("/<a class=\"(.*?)\" href=\"(.*?)\" title=\"(.*?)\">(.*?)<\/a>/si","[a href='\\2' title='\\3' class='\\1']\\4[/a]", $text);
$text = preg_replace("/<a href=\"(.*?)\" class=\"(.*?)\">(.*?)<\/a>/si","[a href='\\1' class='\\2']\\3[/a]", $text);
$text = preg_replace("/<a href=\"(.*?)\" title=\"(.*?)\">(.*?)<\/a>/si","[a href='\\1' title='\\2']\\3[/a]", $text);
$text = preg_replace("/<a title=\"(.*?)\" href=\"(.*?)\">(.*?)<\/a>/si","[a href='\\2' title='\\1']\\3[/a]", $text);
$text = preg_replace("/<a class=\"(.*?)\" href=\"(.*?)\">(.*?)<\/a>/si","[a href='\\2' class='\\1']\\3[/a]", $text);
$text = preg_replace("/<a(.*?)href=\"(.*?)\"(.*?)>(.*?)<\/a>/si","[a href='\\2']\\4[/a]", $text);