当前位置: 移动技术网 > IT编程>开发语言>正则 > webregexp 正则测试实现代码

webregexp 正则测试实现代码

2017年12月12日  | 移动技术网IT编程  | 我要评论
WebRegExp 1.0 - 客服果果 [ 无忧版 ] body{background:#2B3C53;} *{font-size:12px;} #win{ width:900px;font-size:12px; position:absolute;left:0;top:0; background:#F1F0EA; border:2px outset;color:#000; -moz-border-top-colors:#d4d0c8 white; -moz-border-left-colors: #d4d0c8 white; -moz-border-right-colors:#404040 #808080; -moz-border-bottom-colors:#404040 #808080; } h4{ background:#35528E url(images/caption.jpg) repeat-y 100% 0; margin:1px;padding:5px;cursor:default; color:#fff;font-size:14px;font-family:Arial; } h4 div{ background:url(images/ico.gif) no-repeat 2px 0; padding-left:25px; } #about{ text-decoration:none;color:#000;padding:2px} .menu{line-height:20px;padding:0px 10px} .line{ font-size:1px; line-height:1px; background:#fff; margin:0 2px; height:1px; overflow:hidden; border-top:1px solid #ACA899; } .ad{ background:#FF7B00 url(images/regexp_ad.gif) no-repeat 50% 50%; height:60px; position:relative; } .ibody{margin:5px;} .left{ width:250px;height:100%; float:left;text-align:center; } .btnWrap{padding:5px 0;} button{+margin-left:2px;padding:0px; } #tabBtns a{ color:#000;text-decoration:none; display:block; float:left;margin-right:1px; width:47px;height:20px;line-height:20px; background:#fff url(images/tab.gif) no-repeat 0 0; } .list_wrap{margin:5px;} #tabBtns{z-index:10;border:0px solid #aaa; } #tabBtns a:hover{ background:url(images/tab.gif) no-repeat 0 -21px; } #tabBtns a.hot,#tabBtns a.hot:hover{ background:url(images/tab.gif) no-repeat 0 100%; width:52px; height:20px; position:relative;bottom:-1px; } .list_option{ background:#fff; margin:0px;padding:0px; border:1px solid #919B9C;display:none; } #list_match.list_option{display:block;} .right{width:636px; float:right;} .clear{clear:both;font-size:0px;overflow:hidden;height:0px; } #colorText,textarea{ margin:5px auto;height:100px; overflow:auto;border:1px solid inset; } #colorText{background:#fff;text-align:left;word-wrap:break-word;overflow:hidden;} #regexpText{width:236px} #replaceText{height:30px;} #regexpText{height:60px;} #replaceText,#targetText,#resultText{width:620px} #targetText{height:200px;background:#ddd;color:#000; } #resultText{height:60px;color:#0099FF} select{width:216px;height:170px;margin:0px;padding:0px;margin-top:10px; } fieldset{ text-align:center;padding:0; margin:10px 0 0 0} legend{margin-left:10px;color:#000; } WebRegExp 1.0 - 客服果果 [ 无忧版 ] 关于(A) 正则式输入 ]+> 输出 剔除 替换 查找下一个 列表 模式匹配 忽略大小写 多行模式 全局模式 常用正则式 验证 提取 剔除 测试文本 客服果果 爬虫 Rank: 2 替换文本 dhooo 查找结果 ldh={ ex:function(main,ex){for(var k in (ex||{}))main[k]=ex[k];return main} ,each:function(list,fn){for(var i=0;i]+>' } ,{text:'链接',value:']+>(.*?)'} ,{text:'图片地址',value:'(s|S)(r|R)(c|C) *= *(\\\'|\\\")?(\\w|\\\\|\\/|\\.|:)+(\\4)'} ,{text:'链接地址',value:'href=(\\"|\\\'|)([^\\"\\\']+)(\\1)'} ,{text:'中文字符',value:'[\\u4e00-\\u9fa5]'} ,{text:'双字节字符',value:'[^\\x00-\\xff]'} ,{text:'文件名',value:'([^\\\/]*?)(?:\\.\\w+)$'} ],function (){var O=$('#exps2').options;O[O.length]=new Option(this.text,this.value)}); ldh.each([ {text:'空行',value:'\\n[\\s| ]*\\r'} ,{text:'HTML标签',value:']+>'} ,{text:'首尾空格',value:'(^\\s*)|(\\s*$)'} ],function (){var O=$('#exps3').options;O[O.length]=new Option(this.text,this.value)}); if(!document.all)$('#doNext').disabled=true; ldh.drag(ldh.find('#caption'),{win:ldh.find('#win'),left:0,top:0}); })()
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] Tags:webregexp 正则测试 相关文章 2017-01-01正则表达式教程之匹配一组字符详解2009-10-10PHP 正则的使用基础入门2009-12-12一个替换目录结构的正则表达式 实现目录的增加2011-02-02jQuery中的正则表达式分析 正则基础2017-01-01正则表达式教程之前后查找lookaround详解2017-07-07正则表达式注册表验证笔记整理2006-06-06能说明一下GETROWS的用法吗?2016-09-09Java使用正则表达式对注册页面进行验证功能实现2006-06-06正则表达式regular expression详述(一)2011-09-09学php正则!超基础简单例子 最新评论 大家感兴趣的内容 1Java 正则表达式详解2正则表达式匹配任意字符(包括换3javascript 手机号码正则表达式验4比较正宗的验证邮箱的正则表达式5js正则函数match、exec、test、s6JS利用正则配合replace替换指定字7正则中需要转义的特殊字符小结8grep用法详解 grep与正则表达式9正则表达式匹配不包含某些字符串10PHP preg_replace() 正则替换所有 最近更新的内容 正则表达式匹配(URL、电话、手机、邮箱)的JS 正则表达式的相关方法(正则学习笔记1JavaScript 实现基础 正则表达式正则表达式进行页面表单验证功能正则表达式匹配不包含某些字符串的技巧正则表达式的应用C#正则表达式之Regex类用法详解正则表达式中\w不能识别中文正则表达式判定保留2位小数的实现代码AS3 js正则表达式 反向引用(backreferenc 常用在线小工具

关于我们 - 广告合作 - 联系我们 - 免责声明 - 网站地图 - 投诉建议 - 在线投稿

©CopyRight 2006-2017 JB51.Net Inc All Rights Reserved. 移动技术网 版权所有

(function(){ var bp = document.createElement('script'); bp.src = '//push.zhanzhang.baidu.com/push.js'; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); if (top.location != self.location)top.location=self.location; $(function(){ $('#content').find('img').each(function(){ var img = this; if (img.width >= 650){ img.style.width = "650px"; img.style.height = "auto"; //$(img).removeAttr('height'); var aTag = document.createElement('a'); aTag.href = img.src; aTag.target="_blank"; $(aTag).addClass('bPic') .insertAfter(img).append(img) } }); $(window).scroll(function() { //rFixedBox跟随滚动 var h = $(window).height(); var top = $(window).scrollTop(); var rFixedBox = $('.rFixedBox').prev().offset(); var fixedTop = rFixedBox.top; if(top>=fixedTop+344) { var h1 = parseInt($('#content').children('.main').height()); if(parseInt(top) + 340 < h1){ $('.rFixedBox').css({'position':'fixed','top': 0}); }else{ $('.rFixedBox').css({'position':'absolute','top': h1-510}); } } else { $('.rFixedBox').css({'position':'static', 'top':0}); } /* return true;*/ }); /*$(document).ready(function() { $("#content img").unveil(); }); */ SyntaxHighlighter.autoloader( 'applescript /jslib/syntaxhighlighter/scripts/shBrushAppleScript.js', 'actionscript3 as3 /jslib/syntaxhighlighter/scripts/shBrushAS3.js', 'bash shell /jslib/syntaxhighlighter/scripts/shBrushBash.js', 'coldfusion cf /jslib/syntaxhighlighter/scripts/shBrushColdFusion.js', 'cpp c /jslib/syntaxhighlighter/scripts/shBrushCpp.js', 'obj-c objc /jslib/syntaxhighlighter/scripts/shBrushObjC.js', 'c# c-sharp csharp /jslib/syntaxhighlighter/scripts/shBrushCSharp.js', 'css /jslib/syntaxhighlighter/scripts/shBrushCss.js', 'delphi pascal /jslib/syntaxhighlighter/scripts/shBrushDelphi.js', 'diff patch pas /jslib/syntaxhighlighter/scripts/shBrushDiff.js', 'erl erlang /jslib/syntaxhighlighter/scripts/shBrushErlang.js', 'groovy /jslib/syntaxhighlighter/scripts/shBrushGroovy.js', 'haxe hx /jslib/syntaxhighlighter/scripts/shBrushHaxe.js', 'java /jslib/syntaxhighlighter/scripts/shBrushJava.js', 'jfx javafx /jslib/syntaxhighlighter/scripts/shBrushJavaFX.js', 'js jscript javascript /jslib/syntaxhighlighter/scripts/shBrushJScript.js', 'perl pl /jslib/syntaxhighlighter/scripts/shBrushPerl.js', 'php /jslib/syntaxhighlighter/scripts/shBrushPhp.js', 'text plain /jslib/syntaxhighlighter/scripts/shBrushPlain.js', 'py python /jslib/syntaxhighlighter/scripts/shBrushPython.js', 'ruby rails ror rb /jslib/syntaxhighlighter/scripts/shBrushRuby.js', 'scala /jslib/syntaxhighlighter/scripts/shBrushScala.js', 'sql /jslib/syntaxhighlighter/scripts/shBrushSql.js', 'vb vbnet /jslib/syntaxhighlighter/scripts/shBrushVb.js', 'ps powershell /jslib/syntaxhighlighter/scripts/shBrushPowerShell.js', 'xml xhtml xslt html /jslib/syntaxhighlighter/scripts/shBrushXml.js' ); SyntaxHighlighter.all(); }); var ourl=""; jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); jbLoader();jbLoader(true); //tu+ var cpro_id = "u1893014"; document.write(''); window.changyan.api.config({ appid: 'cyrHH3dwi', conf: 'prod_1dc5dc80970106099d43fe242b7465fc' });

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网