re.Pattern="(\[FLASH\])(.*?)(\[\/FLASH\])"
strContent= re.Replace(strContent,"<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=500 height=400><PARAM NAME=movie VALUE=""https://www.jb51.net/article/$2""><PARAM NAME=quality VALUE=high><embed src=""https://www.jb51.net/article/$2"" quality=high pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width=500 height=400>$2</embed></OBJECT>")
re.Pattern="(\[FLASH=*([0-9]*),*([0-9]*)\])(.*?)(\[\/FLASH\])"
strContent= re.Replace(strContent,"<a href=""https://www.jb51.net/article/$4"" TARGET=_blank><IMG SRC=https://www.jb51.net/pic/swf.gif border=0 alt=点击开新窗口欣赏该FLASH动画!> [全屏欣赏]</a><br><br><OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=https://www.jb51.net/article/$2 height=https://www.jb51.net/article/$3><PARAM NAME=movie VALUE=""https://www.jb51.net/article/$4""><PARAM NAME=quality VALUE=high><param name=menu value=false><embed src=""https://www.jb51.net/article/$4"" quality=high menu=false pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width=https://www.jb51.net/article/$2 height=https://www.jb51.net/article/$3>$4</embed></OBJECT>")
re.Pattern="(\[UPLOAD=gif\])(.*?)(\[\/UPLOAD\])"
strContent= re.Replace(strContent,"<br><IMG SRC="""https://www.jb51.net/&picurl&"gif.gif"" border=0>此主题相关图片如下:<br><A HREF=""https://www.jb51.net/article/$2"" TARGET=_blank><IMG SRC=""https://www.jb51.net/article/$2"" border=0 alt=按此在新窗口浏览图片javascript:if(this.width>screen.width-333)this.width=screen.width-333""></A>")
re.Pattern="(\[UPLOAD=jpg\])(.*?)(\[\/UPLOAD\])"
strContent= re.Replace(strContent,"<br><IMG SRC="""https://www.jb51.net/&picurl&"jpg.gif"" border=0>此主题相关图片如下:<br><A HREF=""https://www.jb51.net/article/$2"" TARGET=_blank><IMG SRC=""https://www.jb51.net/article/$2"" border=0 alt=按此在新窗口浏览图片javascript:if(this.width>screen.width-333)this.width=screen.width-333""></A>")
re.Pattern="(\[UPLOAD=bmp\])(.*?)(\[\/UPLOAD\])"
strContent= re.Replace(strContent,"<br><IMG SRC="""https://www.jb51.net/&picurl&"bmp.gif"" border=0>此主题相关图片如下:<br><A HREF=""https://www.jb51.net/article/$2"" TARGET=_blank><IMG SRC=""https://www.jb51.net/article/$2"" border=0 alt=按此在新窗口浏览图片javascript:if(this.width>screen.width-333)this.width=screen.width-333""></A>")