惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
L
LangChain Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
小众软件
小众软件
WordPress大学
WordPress大学
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
Jina AI
Jina AI
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
D
Docker

博客园 - leavingme

从 Google Code 迁移代码到 GitHub 上 ActionScript 3 Socket 安装 VirtualBox Guest Additions 后 Windows XP 分辨率问题 Xcode 4.5的几个问题 Function Backbone.js WebGL Relearn jQuery 关闭脚本运行慢的提示 理解使用 JavaScript 构建 Metro 应用 iOS RSA相关资料 CommonJS 网站地图 Apache Ant & YUI Builder html5 manifest ie6下动态更改img.src 图片不显示 ApacheBench 锚点 空白的iframe
中文正则
leavingme · 2011-07-01 · via 博客园 - leavingme

中文正则

var reChinese = /^[\u4e00-\u9fa5]+$/; //中文名
var reEnglish = /^[A-Za-z]+([\s]?[A-Za-z]+)*$/i; //英文名

posted @ 2011-07-01 19:55  leavingme  阅读(168)  评论(0)    收藏  举报