The concept and function of regular expressions are not much said. Regular expressions are hard to write (bad), so there are a lot of tools to help us write regular expressions, the regulator is one of the best (listed on MSDN, Ten must-have Tools Every Developer Should Download now "). The official website of the regulator http://royo.is-a-geek.com/iserializable/regulator/. The latest version is 2.0.3. This article gives a brief introduction to the use of the regulator.
The regulator window is divided into six parts: Web Search, Regex Analyzer, snippetscontrol, expression input area, match result area, and the text area to be resolved. The more important is the Regex Analyzer, the expression input area, the match result area, and the text area to be parsed. By default, the Web search area takes up a large position and may need to be adjusted.
If you want to figure out what a regular expression means, you can take advantage of the Regex Analyzer (on the View menu), but sometimes it doesn't parse out the results, and you can change the expression input area or the content in the text area to a little bit (such as adding a space), Perhaps the correct result will be resolved. For example, I input \d{2}-\d{5}, will parse out any digit exactly 2 times-any digit exactly 5 times. Can help us understand a complex regular expression.
Other useful features: Generate code (C # or VB.) NET), compiles directly into a DLL, retrieves ready-made regular expressions from the Web site (Web Search), saves commonly used expressions (Snippetscontrol), and so on.
When it comes to regular expressions, there is another tool that is famous: expressohttp://www.ultrapico.com/. This tool is described in detail on CodeProject, and the production time is also earlier than the regulator. The author of the regulator was also influenced by Expresso to develop the regulator. He said in the regulator help file: "The Original idea for the regulator came from a simple Regex Tester called" Expresso ". It is simple and easy to use (to a certain degree), but it mainly prompted "idea in me" I could build something Si Milar with features I wished I had.
So, Expresso. Couldn´t have do this one without ya! " THE_REGULATOR_ regular Expression Builder. RAR (3 MB) Download number of times: 795
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.