易于使用的正则表达式创建工具? [英] easy to use Regex creator tool?

查看:41
本文介绍了易于使用的正则表达式创建工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了一些正则表达式工具,例如 Regulator、Regulazy &正则表达式好友.他们不做我想做的事,他们希望用户知道正则表达式.

I tried some regex tools like Regulator, Regulazy & RegexBuddy. They don't do what I want and they expect the user to know regular expressions.

我想要一个傻瓜工具.你告诉工具我需要一个正则表达式,比如匹配任何以‘yes’结尾的东西,它至少包含一个短语‘/test/’",它会为你创建正则表达式.

I want a tool for dummies. You tell the tool I need a regex for something like "match anything that ends with the word 'yes' and it contains at least one occurrence of the phrase '/test/'" and it creates the regex for you.

所以我要么用简单的英语或半简单的英语输入我的请求,要么该工具有各种现成的选择,我在它们之间进行选择以创建我想要的临时内容.

So I either enter my request in plain English or semi plain English or the tool has all kinds of ready made selections and I choose between them to create what I want ad hoc.

有没有专门针对非开发人员的工具?我不是在寻找正则表达式测试员.

Is there such a tool which is geared towards non developers? I am not looking for a regex tester.

推荐答案

我一直是 Ultrapico 的 Expresso 的粉丝 应用程序.有一个构建器部分可以帮助您(一点点)构建表达式的片段.更重要的是,它将逐节解释现有表达式(您自己的或来自内置表达式库).

I have been a fan of Ultrapico's Expresso application. There is a builder section that helps you (a little) in building fragments of the expression. More importantly it will explain an existing expression (either your own or from the built in expression library) section by section.

它还包括一个测试和替换部分,用于查看和测试您的表达式.最后,它将生成为 C#、C++ 或 VB.NET 格式化的表达式,以便您确切地知道如何将表达式插入到您的项目中.

It also includes a testing and replacement section to see and test your expressions. Lastly it will generate the expression formatted for either C#, C++, or VB.NET so that you know exactly how to insert the expression into your project.

最重要的是它是免费的.我一直在使用这个工具来帮助学习正则表达式的实际工作方式,尤其是复杂的.不能说它让写表达白痴证明,但它确实让我更容易学习表达...

Best of all it's free. I have been using this tool to help learn how regular expressions actually work, especially the complex ones. Can't say it makes writing expressions idiot proof but it has sure made learning expressions easier for me...

此工具在 MSDN 网络广播由 Zain Naboulsi 创作,可能值得一看.希望这会有所帮助,并祝您的 Regex 之旅好运!

This tool was featured in a MSDN Webcast by Zain Naboulsi, and might be worth a watch. Hope this helps, and good luck with your Regex journey!

这篇关于易于使用的正则表达式创建工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆