- 博客(2)
- 收藏
- 关注
转载 jquery: input text with array name selector
we can use jQuery(‘[attribute^="value"]‘) to handle this problem. symbol ^ means you want to select elements that have the specified attribute with a value beginning exactly with a given string
2013-07-24 19:29:04 798
转载 PHP 正则判断中文 UTF-8 & GBK
一般在写用户注册模块的时候都在对注册的用户名进行判断,查看一下有没有.!@#$%^&*()等这样的特殊字符,注册信息里一般将这些字符视为非法字符不允许注册。怎么进行判断呢,这里就用到了正则表达式了。先来解释一下下面几个正则表达式:String chinese = "^[\\u4E00-\\u9FA5\\uF900-\\uFA2D]+$"; /**这个
2013-07-06 15:46:42 639
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人