$url_in = array(
'/(?<!/)' . PORTAL_MG . '?topic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . FORUM_MG . '?' . POST_CAT_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)./' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_POST_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_TOPIC_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
/*
'/(?<!/)album_cat.php?cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?full=&pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_personal.php?user_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
*/
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=file&file_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=cat&cat=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=article&k=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=mostpopular((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=toprated((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=latest((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
);
$url_out = array(
"make_url_friendly('6') . '-na1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vt1.html' . if_query('2') . stripslashes('56') . '</a>'",
/*
"make_url_friendly('6') . '-ac1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-full-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-aper1.html' . if_query('2') . stripslashes('56') . '</a>'",
*/
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-df1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kbc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kba1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('5') . '-kbsmp.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbstr.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbsl.html' . if_query('1') . stripslashes('45') . '</a>'",
);
'/(?<!/)' . PORTAL_MG . '?topic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . FORUM_MG . '?' . POST_CAT_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)./' . VIEWFORUM_MG . '?' . POST_FORUM_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_POST_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)' . VIEWTOPIC_MG . '?' . POST_TOPIC_URL . '=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
/*
'/(?<!/)album_cat.php?cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?full=&pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(<img .*?)</a>/e',
'/(?<!/)album_showpage.php?pic_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)album_personal.php?user_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
*/
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=category&cat_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)dload.php?action=file&file_id=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=cat&cat=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=article&k=([0-9]+)((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=mostpopular((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=toprated((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
'/(?<!/)kb.php?mode=stats&stats=latest((&)|(&)){0,1}([^>]+>)(.*?)</a>/e',
);
$url_out = array(
"make_url_friendly('6') . '-na1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vf1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-vt1.html' . if_query('2') . stripslashes('56') . '</a>'",
/*
"make_url_friendly('6') . '-ac1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"'show-pic-full-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-asp1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-aper1.html' . if_query('2') . stripslashes('56') . '</a>'",
*/
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-dc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-df1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kbc1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('6') . '-kba1.html' . if_query('2') . stripslashes('56') . '</a>'",
"make_url_friendly('5') . '-kbsmp.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbstr.html' . if_query('1') . stripslashes('45') . '</a>'",
"make_url_friendly('5') . '-kbsl.html' . if_query('1') . stripslashes('45') . '</a>'",
);