webregexp 正则测试实现代码
2009-03-18 00:00
399 查看
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)
正则式输入
]+>
输出
剔除
替换
查找下一个
列表
模式匹配
忽略大小写
多行模式
全局模式
常用正则式
验证
提取
剔除
测试文本
客服果果
爬虫
替换文本
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:'(^\\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需刷新才能执行]
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)
正则式输入
]+>
输出
剔除
替换
查找下一个
列表
模式匹配
忽略大小写
多行模式
全局模式
常用正则式
验证
提取
剔除
测试文本
客服果果
爬虫
替换文本
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:'(^\\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需刷新才能执行]
相关文章推荐
- webregexp 正则测试实现代码
- Webpack 2 视频教程 010 - 配置 ESLint 实现代码规范自动测试 (下)
- 配置gitlab环境实现代码管理及Web Hook测试和ldap认证 推荐
- asp下用replace非正则实现代码运行功能的代码
- 一致性hash算法 java代码实现与测试
- 安全性“依赖客户端验证”的测试方法和代码实现
- 利用WebHook实现PHP自动部署Git代码
- 第十八章 完成整个DAO的实现及测试代码
- 追求代码质量: 使用 TestNG-Abbot 实现自动化 GUI 测试
- NHibernate+spring.net+jquery打造UI控件库(mvc+webform两种实现) combox,shadow控件的初步实现(包括键盘,过滤功能)(附代码下载)
- C#实现Web文件上传的两种方法实例代码
- java web 一行代码实现文件上传下载
- 自己实现的C++智能指针的功能代码和测试用例
- Dlib库中实现正脸人脸检测的测试代码
- C#代码实现邮箱验证C#中及一些常用的正则表达式
- PHP 结合 WebHook 实现代码自动部署
- Web设计技巧:实现干净代码的12条定律
- Webdriver+Testng实现测试用例失败自动截图功能