/ig,"")
if(set.fontbash.checked)
{
str = str .replace(/]*?displays*?:s*?none[^>]*?>([wW]*?)/ig,"");
str = str.replace(/]*?fonts*?-s*?sizes*?:s*(0px|0pt)[^>]*?>([wW ]*?)/ig,"");
str = str.replace(/] )(0px|0pt) ([^>]*)> ;([wW]*?)/ig,"");
}
if(set.filtrate.checked)
{
str = str.replace (/[^]*?)>[^")
tm=window.textfield.value;
if(tm.length<1){
var arr
arr=str.match(/] src=[" ]?([^"] )[" ]?[^>]*>/ig);
tm=arr[0].replace(/] src=[" ]?([^"] )[" ]?[^>]*>/ig,"$1 ") """;
i=tm.search(//[^/] "/ig);
tm=tm.substr(0,i);
window.textfield.value=tm "/";
}
if(tm.substr(tm.length-1,1)!="/") tm ="/"
var strtm="] src=[" ]?(" tm "[^"] )["]?[^>]*>";
var re = new RegExp(strtm,"ig");
str = str.replace(re,"n[img]$1[/img]n");
}
else
{
if(set.stext.checked) str = str.replace(/[^<]*<([^>]*?)>[^<] */ig,"<$1>");
if(!set.linka.checked) str = str.replace(/] href=[" ]?([^"] )[" ]?[^> ]*>(.*?)/ig,"[url=$1]$2[/url]")
if(!set.font_color.checked&&!set.stext.checked)
str = str.replace(/] )color=([^ >] )([^>]*)>(.*?)/ig ,"[color=$2]$4[/color]")
if(!set.font_size.checked&&!set.stext.checked)
str = str.replace(/] )size=([^ >] )([^>]*)>(.*?)/ig,"[size =$2]$4[/size]");
if(!set.font_face.checked&&!set.stext.checked)
str = str.replace( /] 얼굴=([^ >] )[^>]*>(.*?)/ig,"[font=$1]$2[/font] ");
if(!set.img.checked) str = str.replace(/] src=[" ]?([^"] )[" ]?[^> ]*>/ig,"n[img]$1[/img]n");
if(!set.odj.checked){
//return str;
str = str.replace(/<객체[^>]*?6BF52A52-394A-11d3-B153-00C04F79FAA6[^>]*?>.*] 이름* =s*["](url|src)["][^>] 값=[" ]?([^"] )[" ][^>]*>.*/ ig,"n
播放视频文件
n");
str = str.replace(/<객체[^>]*?D27CDB6E-AE6D-11cf-96B8-444553540000[^>]*?>.*
] 이름*=s*["](url|src)["][^>] 값=[" ]?([^"] )[" ][^>]*>.*< ;/object>/ig,"n
Flash动画
n");
str = str.replace(/