本文例項講述了JavaScript正則替換HTML標籤功能。 ... 串:" tagStr); var result = tagStr.replace(regx,""); alert("替換之後的字串:" result); }.
確定! 回上一頁