[code:2n86i3v4]<script language="JavaScript">
<!--
var str="xi nan shi you xue yuan china people"
alert(str.replace(/\s[a-z]/g,function($1){return $1.toLocaleUpperCase()...
本文在此列举了一些常用于编程开发的使用的javascript正则表达试
[code:cloworpx]/**
* 检查是否为正整数
*/
function isUnsignedInteger(strInteger)
{
var newPar=/^\d+$/
return newPar.test(strInteger);
}
function check...
转载自httphtml
[code:2guvedhf]<script language="javascript">
document.body.oncopy = function () {
setTimeout( function () {
var text = clipboardData.getData("text");
if (tex...