zoukankan
html css js c++ java
正则表达式判断字符串是汉字还是拼音
function checkFormat(str)
{
if (escape(str).indexOf("%u")!=-1)
alert("不能含有汉字");
else if(str.match(/\D/)!=null)
{
alert('不能含有字母');
}
}
..
查看全文
相关阅读:
redis发布订阅
CSS 布局
CSS 布局
CSS Float(浮动)实例
CSS 布局
CSS Float(浮动)
CSS Position(定位)实例
CSS Position(定位)
CSS Display(显示) 与 Visibility(可见性)实例
CSS Display(显示) 与 Visibility(可见性)
原文地址:https://www.cnblogs.com/lanyueer/p/2118623.html
最新文章
Android的弹幕功能实现(三)
typing模块
collections模块
sys模块
datetime模块
random模块
json和pickle模块
os模块
hashlib和hmac模块
re模块
热门文章
subprocess模块
xml模块
saltstack高效运维
docker入门
python操作redis集群
redis安全相关
redis-cluster
redis-sentinel哨兵
redis主从同步
redis持久化RDB与AOF
Copyright © 2011-2022 走看看