Introduction to the useful resources of regular expressions

Source: Internet
Author: User

Objective:

In "Share 5 visual regular expression editing tools"(http://www.csdn.net/article/2014-11-27/2822843-tools?reload=1) and "proficient in regular expression 12 A useful resource "(http://www.oschina.net/news/42768/12-resources-for-mastering-regular-expressions?p= 2) Two articles introduced some very good regular expression interpretation and editing visual tools, basically is the web version, it is very convenient to use. This article is the author screened out a few of the more good recommendations for everyone.

One, the daily regular match, the replacement test

1. On-line regular expression testing

Online Address: http://tool.oschina.net/regex#

If the simple regular editing, testing, then this address is undoubtedly the first choice, because it contains matching and replacement, and there are ready-made basic common regular, and is Chinese, very practical and convenient.

2.MTracer

: XXX This address I remember, we can own Baidu.

The benefits of this tool are quick and easy, offline, click on the desktop shortcut icon to open. It also has a feature: the regular structure is clearly described, if it can be added to the right view of the "match interpretation", it would be a perfect tool ....

Second, matching interpretation

1.Regulex

: Http://www.oschina.net/p/regulex

Description: This is to be downloaded.

2.regexper

Online Address: http://regexper.com/#

This is similar to Regulex, click Documentation to refer to the graphical explanation.

3.regexplained

Online Address: http://www.regexplained.co.uk

This is not recommended, and Regulex, Regexper almost, the interface is simple, leave an address.

Third, the peculiar way of building regular online: txt2re

Online Address: http://txt2re.com

This tool may be a surprise, maybe nothing. Its design is very special, is based on the string to match to choose the regular expression, and will be based on the Click Generated Java, JavaScript language code (such as:)-but now I do not use.

Iv. regexplanet

Online Address: http://www.regexplanet.com

Regexplanet allows you to test the matching effect of regular expressions in different programming languages. You can store regular expressions, and the tool also provides some common expressions. Note: Sometimes you may not log in, then FQ it.

If I order Java, the following interface appears:

This feeling will be useful, but I am also currently studying wood ...

V. Special way to build regular in Java: javaverbalexpressions

: https://github.com/VerbalExpressions/JavaVerbalExpressions

Verbalexpressions is a Java class library that can help build complex formal expressions. This is described in the article "12 useful resources for mastering regular Expressions" :

A very exciting project that can change the way developers use regular expressions is designed to make it easier to read and write and understand, such as

.startOfLine() .then( "http" ) .maybe( "s" ) .then( "://" ) .maybe( "www." ). Isn't it simple?

--this kind of construction method I do not understand at present, if have understood may wish to tell in the next? Thank you so much!

It is necessary to note that after downloading the decompression can not be imported directly with Eclipse, I tried, import failed-no relationship, build a new project, name and pressure of the project name, and then you can. (Try and you'll understand!) )

PostScript: OK, the above is my recommendation, I hope to have the opportunity to discuss the exchange with you, now there is a task on the regular, but also pretty tricky ...

Introduction to the useful resources of regular expressions

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.