JavaScript RegExp

An example based guide

by Sundeep Agarwal

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

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 and filter.

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download JavaScript RegExp ebook for free in PDF format (0.5 MB).

Table of Contents

Chapter 1
What's so special about Regular Expressions?
Chapter 2
RegExp introduction
Chapter 3
Chapter 4
Alternation and Grouping
Chapter 5
Escaping metacharacters
Chapter 6
Dot metacharacter and Quantifiers
Chapter 7
Working with matched portions
Chapter 8
Character class
Chapter 9
Groupings and backreferences
Chapter 10
Chapter 11

Book Details

Computer Science
PDF Size
0.5 MB

Related Books

Eloquent JavaScript
JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revis...
JavaScript Notes for Professionals
The JavaScript Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Learning JavaScript
JavaScript is a programming language that conforms to the ECMAScript specification. It is an unofficial and free JavaScript ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow....
Learn BlackBerry 10 App Development
Learn how to leverage the BlackBerry 10 Cascades framework to create rich native applications. Learn BlackBerry 10 App Development gives you a solid foundation for creating BlackBerry 10 apps efficiently. Along the way, you will learn how to use QML and JavaScript for designing your app's UI, and C++/Qt for the application logic. No prior knowledge...
Designing Scalable JavaScript Applications
If you've ever written a non-trivial JavaScript application, you know that creating a code base that's easy to maintain and scales well over time is no small feat. The complexity only grows as the project becomes larger. While it's impossible to plan for every change that could possibly happen over the life of a project, you can help future-proof y...
Java Web Scraping Handbook
Web scraping or crawling is the art of fetching data from a third party website by downloading and parsing the HTML code to extract the data you want. It can be hard. From bad HTML code to heavy Javascript use and anti-bot techniques, it is often tricky. Lots of companies use it to obtain knowledge concerning competitor prices, news aggregation, ma...