[摘要]RegexOptions.IgnoreCase); str = Regex.Replace(str, @"\[rm=(?<width>[0-9]+?),(?<height...
RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"\[rm=(?<width>[0-9]+?),(?<height>[0-9]+?)](?<url>.+?)\[/rm]", "<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA class=OBJECT id=RAOCX width=${width} height=${height}><PARAM NAME=SRC VALUE=${url}><PARAM NAME=CONSOLE VALUE=Clip1><PARAM NAME=CONTROLS VALUE=imagewindow><PARAM NAME=AUTOSTART VALUE=true></OBJECT><br><OBJECT classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=32 id=video2 width=${width}><PARAM NAME=SRC VALUE=${url}><PARAM NAME=AUTOSTART VALUE=-1><PARAM NAME=CONTROLS VALUE=controlpanel><PARAM NAME=CONSOLE VALUE=Clip1></OBJECT>", RegexOptions.Compiled
关键词:ubb代码转化html代码