$pattern=array(
'/\[b\](.*)\[\/b\]/i',
'/\[i\](.*)\[\/i\]/iU',
'/\[u\](.*?)\[\/u\]/i',
'/\[color=(.*?)\](.*?)\[\/color\]/',
'/\[size=(\d)\](.*?)\[\/size\]/',
'/\[qq\](\d{5,12})\[\/qq\]/',
);
//需要替换的UBB字符
$replace=array(
'
\\1',
'
\\1',
'
\\1',
'
\\2',
'
\\2',
'
target="_blank">

',
);
这是哪一章,请给出课程链接