var txt = '<p>大地<font color="red">标题测试..............</font>天天</p><p>abc<u>上海</u>123</p>hhh';
var s = txt.replace(/<font [\s\S]+?<\/font>/ig,"").replace(/<[\s\S]+?>/ig,"").slice(0,10);
alert(s);