Learning Regular Expressions

by Stack Overflow Community

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

A regular expression (regex or regexp) is a sequence of characters that define a search pattern. It is an unofficial and free Regular Expressions book created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow.

This open book is licensed under a Creative Commons License (CC BY-SA). You can download Learning Regular Expressions ebook for free in PDF format (1.5 MB).

Table of Contents

Chapter 1
Getting started with Regular Expressions
 
Chapter 2
Anchor Characters: Caret (^)
 
Chapter 3
Anchor Characters: Dollar ($)
 
Chapter 4
Atomic Grouping
 
Chapter 5
Back reference
 
Chapter 6
Backtracking
 
Chapter 7
Capture Groups
 
Chapter 8
Character classes
 
Chapter 9
Escaping
 
Chapter 10
Greedy and Lazy quantifiers
 
Chapter 11
Lookahead and Lookbehind
 
Chapter 12
Match Reset: \K
 
Chapter 13
Matching Simple Patterns
 
Chapter 14
Named capture groups
 
Chapter 15
Password validation regex
 
Chapter 16
Possessive Quantifiers
 
Chapter 17
Recursion
 
Chapter 18
Regex modifiers (flags)
 
Chapter 19
Regex Pitfalls
 
Chapter 20
Regular Expression Engine Types
 
Chapter 21
Substitutions with Regular Expressions
 
Chapter 22
Useful Regex Showcase
 
Chapter 23
UTF-8 matchers: Letters, Marks, Punctuation etc.
 
Chapter 24
When you should NOT use Regular Expressions
 
Chapter 25
Word Boundary
 

Book Details

Subject
Computer Science
Publisher
RIP Tutorial
Published
2019
Pages
94
Edition
1
Language
English
PDF Size
1.5 MB
License
CC BY-SA

Related Books

The Linux Command Line
The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell (or command line). Along the way you'll learn the timeless skills handed down by generations of experienced, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching wit...
Data and Text Processing for Health and Life Sciences
This book is a step-by-step introduction on how shell scripting can help solve many of the data processing tasks that Health and Life specialists face everyday with minimal software dependencies. The examples presented in the book show how simple command line tools can be used and combined to retrieve data and text from web resources, to filter and...
Effective AWK Programming
When processing text files, the awk language is ideal for handling data extraction, reporting, and data-reformatting jobs. This practical guide serves as both a reference and tutorial for POSIX-standard awk and for the GNU implementation, called gawk. This book is useful for novices and awk experts alike. In this thoroughly revised 5th edition, ...
JavaScript RegExp
The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them. You should have a good understanding of basic-level programming concepts and prior experience working with JavaScript. Should also know functional programming concepts like map ...
GNU SED
The book heavily leans on examples to present features of sed as well as regular expressions one by one. It is recommended that you manually type each example and experiment with them. Understanding both the nature of sample input string and the output produced is essential. You should have prior experience working with command line and bash she...
GNU GREP and RIPGREP
The book heavily leans on examples to present features of grep as well as regular expressions one by one. It is recommended that you manually type each example and experiment with them. Understanding both the nature of sample input string and the output produced is essential. You should have prior experience working with command line and bash sh...