<script language="JavaScript">
<!--
var s="<font color='#00000'>text1</font><font color='#00000'>text2</font>"
var arr=[];
var re=/<font[^>]*>([^<]*)<\/font>/i
while(s.match(re)){
arr[arr.length]=RegExp.$1;
s=s.replace(re,'');
}
alert(arr.join('\n'))
//-->
</script>
<!--
var s="<font color='#00000'>text1</font><font color='#00000'>text2</font>"
var arr=[];
var re=/<font[^>]*>([^<]*)<\/font>/i
while(s.match(re)){
arr[arr.length]=RegExp.$1;
s=s.replace(re,'');
}
alert(arr.join('\n'))
//-->
</script>
var str = "<font color='#00000'>text</font>";
alert(/<(font).+>(.+)<\/\1>/.exec(str)[2])
</script>
alert(str.match(/<font(?:.+)>(.+)<\/font>/)[1])