EditPlus的查找,替换,文件中查找支持以下的正则表达式: Expression Description \t Tab character. \n New line. . Matches any character. | Either expression on its left and right side matches the target string. For example, “a|b” matches “a” and “b”. [] Any of the enclosed characters may match the target character. For example, “[ab]” matches “a” and “b”. “[0...[ 查看全文 ]
JS的正则表达式 //校验是否全由数字组成 function isDigit(s) { var patrn=/^[0-9]{1,20}$/; if (!patrn.exec(s)) return false return true } //校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串 function isRegisterUserName(s) { var patrn=/^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){4,19}$/; if (!patrn.exec(s)) return false return true } //校验用户姓...[ 查看全文 ]
去除html标签正则\/*[^]* Function LoseHtml(ContentStr) Dim ClsTempLoseStr,RegEx ClsTempLoseStr = Cstr(ContentStr) Set RegEx = New RegExp RegEx.Pattern = "\/*[^]*" &...[ 查看全文 ]