rem: text=text.replace(/<img src="(.*?)"(.*?)>/g,'[img]$1[/img]'); 
add: text=text.replace(/<img.*? src="(.*?)".*?>/g,'[img]$1[/img]'); 
context:     HTMLParse: function(text) {        /* Parses HTML into BBcode */        text=text.replace(/<b>(.*?)<\/b>/g,'[b]$1[/b]');		text=text.replace(/<i>(.*?)<\/i>/g,'[i]$1[/i]');		text=text.replace(/<u>(.*?)<\/u>/g,'[u]$1[/u]');		text=text.replace(/<del>(.*?)<\/del>/g,'[s]$1[/s]');		text=text.replace(/<a class="body" href="(.*?)" target="_blank">(.*?)<\/a>/g,'[link=$1]$2[/link]');		text=text.replace(/<a href="(.*?)" target="_blank">(.*?)<\/a>/g,'[link=$1]$2[/link]');		text=text.replace(/<a href="(.*?)">(.*?)<\/a>/g,'[link=$1]$2[/link]');		text=text.replace(/<font color=".*">(.*?)<\/font>/g,'$1'); /* Old way maybe? */		text=text.replace(/<span style="color:.*">(.*?)<\/span>/g,'$1');		text=text.replace(/<img src="(.*?)"(.*?)>/g,'[img]$1[/img]');		text=text.replace(/<br><br><span class="small"(.*?)>(.*?)<\/span>/g,'');		text=text.replace(/<blockquote(.*?)>(.*?)<\/blockquote>/g,'');		text=text.replace(/\t/g,'');		text=text.replace(/\n/g,'');		text=text.replace(/<br>/g,'\n');		return text;    },
meta: 760	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/760/dc35a48108634f02bd010c8e33542f88ab626f1b/editor.js/clean/chrome/content/editor.js