]*>(.*?) /ig,"\n[url=$1]$2[/url]\n"); str = str.replace(/ ]+color=([^ >]+)[^>]*>(.*?) /ig,"\n[color=$1]$2[/color]\n"); str = str.replace(/ ]*>/ig,"\n[img]$1[/img]\n"); str = st" />