摘要: 正则表达式(regular expression)对象包含一个正则表达式模式(pattern)。它具有用正则表达式模式去匹配或代替一个串(string)中特定字符(或字符集合)的属性(properties)和方法(methods)。正则表达式构造函数: new RegExp("pattern"[,"flags"]);参数说明:pattern -- 一个正则表达式文本flags -- 如果存在,将是... 阅读全文
posted @ 2009-12-26 22:09 Glacier 阅读(227) 评论(0) 推荐(0) 编辑