12個精通正則表達式的資源

jopen 11年前發布 | 20K 次閱讀 正則表達式

正則表達式通常被視為很難掌握。但是,“不是所有”,他們只是看起來復雜,但絕對不難。
這里有12個很好的資源,來學習和掌握正則表達式。

I had started with no:1 (RegExplained) and suggest that you do so too. Watch the talk of Lea Verou and you’ll already be knowing it. After that, use others to improve your skills.

RegExplained

12個精通正則表達式的資源

RegExplained is the project that thought me regex. It is a simple playground which highlights the matched text from a regex in real-time.

It is a project of Lea Verou and also supported with a talk (I suggest you watch it to start learning regular expressions quickly).

RegEx Guide By Mozilla

12個精通正則表達式的資源

One of the most simplified regular expression guides on the net. Easy to understand and covers the most important stuff.

You may want to check what Microsoft docs tell too.

RegexPlanet

12個精通正則表達式的資源

RegexPlanet allows testing expressions using any of the multiple languages. The expressions created can be shared and, a cookbook features handy regular expressions.

Debuggex

12個精通正則表達式的資源

A web app for testing regular expressions. It has support for JavaScript, Python an PCRE.

Rubular

12個精通正則表達式的資源

A popular regex editor for Ruby which inspired many other projects.

Scriptular

12個精通正則表達式的資源

Regex tester for JavaScript (inspired from Rubular). It also has a quick reference of regular expression commands.

txt2re

12個精通正則表達式的資源

A tool that helps extracting any given text visually by clicking on items in a  filtered text.

PHP Live Regex

12個精通正則表達式的資源

A regular expression tester for PHP developers. The tool can also generate unique URLs so that you can share the code with others or keep working on later.

Rex V

12個精通正則表達式的資源

A real-time regex tester with support for PHP, JavaScript, Python, Nodejs and Perl.

XRegExp

12個精通正則表達式的資源

A JavaScript library for extending the capabilities of regular expressions. It provides new syntax, flags and methods.

VerbalExpressions

12個精通正則表達式的資源

A very exciting project that can change how developers use regex (like jQuery did for JavaScript).

It aims to make the regular expressions easy to read and write with commands like: .startOfLine() .then( "http" ) .maybe( "s" ) .then( "://" ) .maybe( "www." ). Simple, huh?

Regex Crossword

12個精通正則表達式的資源

A one-of-a-kind resource for improving your regex skills. It is similar to the classic puzzles where you are given a regular expression to guess the right letter for the field.

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!