[摘要]RegexOptions.IgnoreCase); str = Regex.Replace(str, @"\[mp=(?<width>[0-9]+?),(?<height...
RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"\[mp=(?<width>[0-9]+?),(?<height>[0-9]+?)](?<url>.+?)\[/mp]", "<object align=middle classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 class=OBJECT id=MediaPlayer width=${width} height=${height} ><param name=ShowStatusBar value=-1><param name=Filename value=${url}><embed type=application/x-oleobject codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename=mp src=${url} width=${width} height=${height}></embed></object>", RegexOptions.Compiled
关键词:ubb代码转化html代码