All About Regular Expressions

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

A regular expression (regex or regexp for short) is a special text string for describing a search pattern. You can think of regular expressions as wildcards on steroids. You are probably familiar with wildcard notations such as *.txt to find all text files in a file manager. The regex equivalent is ^.*\.txt$. This tutorial is quite unique because it not only explains the regex syntax, but also describes in detail how the regex engine actually goes about its work. You will learn quite a lot, even if you have already been using regular expressions for some time. This will help you to understand quickly why a particular regex does not do what you initially expected, saving you lots of guesswork and head scratching when writing more complex regexes. There are many software applications and programming languages that support regular expressions. If you are a programmer, you can save yourself lots of time and effort. You can often accomplish with a single regular expression in one or a few lines of code what would otherwise take dozens or hundreds. Many applications and programming languages have their own implementation of regular expressions, often with slight and sometimes with significant differences from other implementations. When two applications use a different implementation of regular expressions, we say that they use different “regular expression flavors”. Unlike most other regex tutorials, this tutorial covers all the popular regular expression flavors, and indicates the differences that you should watch out for.

Author(s): Jan Goyvaerts
Edition: 2019
Publisher: https://www.regular-expressions.info/
Year: 2019

Language: English
Pages: 206
Tags: regex regular expression

01 Quickstart
02 Regular Expressions Tutorial
03 Replacement Strings Tutorial
04 Programming Languages and Libraries
05 Sample Regular Expressions
06 Regular Expression Quick Syntax Reference
07 Regular Expressions Reference
08 Regular Expressions Replacement Reference