<html>
<BODY>
This is a simple.oh<br>
Today is fine.
</BODY>
<script language="JavaScript">
// 将指定的字符串标红(is或like或all或数字)
// $1引用的就是(is)这个子表达式
// $2引用的就是(like)这个子表达式
// $3引用的就是(all)这个表达式
// $4引用的就是(\d+)这个表达式
document.body.innerHTML = document.body.innerHTML.replace(/(is)|(like)|(all)|(\d+)/gi,"<font color=red>$1$2$3$4</font>");
</script>
</html>
//sr:/one/280469 替换成 /two/1_280469_1/mp4
var s = "/one/280469";
s = s.replace(/\/one\/(.*)/g,'/two/1_$1_1/mp4');