查看全部信息

日志(2)

  • 【转载】正则表达式30分钟入门

    mewleo 发表于 2007-09-05 12:17:47

    原文地址:http://www.unibetter.com/deerchao/zhengzhe-biaodashi-jiaocheng-se.htm 版本:v2.21 (2007-8-3) 作者:deerchao 来源:unibetter大学生社区 本想帖过来,但是好多注释的颜色和标注都乱了,...

  • js中使用replace

    zppro 发表于 2007-08-12 18:17:57

    re = /apples/gi;newstr=str.replace(re, "sth");re = /(\w+)\s(\w+)/;str = "John Smith";newstr = str.replace(re, "$2, $1");g --GlobalSearchi --IngoreCase

TAG信息

正则表达式

相关TAG

  • 暂无相关TAG