Regex in Javascript

Watch User Created Playlist (10)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Javascript Regular Expressions: Introduction

Javascript Regular Expressions: Find Plain Text Patterns

P

Javascript Regular Expressions: Find Repeated Patterns

P

Javascript Regular Expressions: Find Sets of Characters

P

Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

P

Javascript Regular Expressions: Find Groups of Characters

P

Javascript Regular Expressions: Find a String that Precedes Another String

P

Javascript Regular Expressions: Find the Start and End of Whole Words

P

Javascript Regular Expressions: Match the Same String Twice

P

Javascript Regular Expressions: Match the Start and End of a Line

P
js tutorial about Javascript Regular Expressions: Introduction

Javascript Regular Expressions: Introduction

6:00 js

In this lesson we'll learn two ways to construct a Regular Expression in Javascript, explore the methods available to us directly from the RegExp constructor, use Regular Expressions with String.prototype methods, and build a simple regex highlighter.

js tutorial about Javascript Regular Expressions: Find Plain Text Patterns

Javascript Regular Expressions: Find Plain Text Patterns

2:29 js PRO

The simplest use of Regular Expressions is to find a plain text pattern. In this lesson we'll look at at finding plain text patterns as well as using the metacharacter "." and how to escape a metacharacter.

js tutorial about Javascript Regular Expressions: Find Repeated Patterns

Javascript Regular Expressions: Find Repeated Patterns

3:53 js PRO

Regular Expression Quantifiers allow us to identify a repeating sequence of characters of minimum and maximum lengths. In this lesson we'll use Regular Expression Quantifiers to match repeated patterns, common Quantifier patterns, and using shorthand for those common Quantifier patterns.

js tutorial about Javascript Regular Expressions: Find Sets of Characters

Javascript Regular Expressions: Find Sets of Characters

2:41 js PRO

Regular Expression Character Classes define a group of characters we can use in conjunction with quantifiers.

js tutorial about Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

1:42 js PRO

In this lesson we'll learn shorthands for common character classes as well as their negated forms.

js tutorial about Javascript Regular Expressions: Find Groups of Characters

Javascript Regular Expressions: Find Groups of Characters

4:35 js PRO

In this lesson we'll capture groups of characters we wish to match, use quantifiers with those groups, and use references to those groups in String.prototype.replace.

js tutorial about Javascript Regular Expressions: Find a String that Precedes Another String

Javascript Regular Expressions: Find a String that Precedes Another String

1:27 js PRO

Lookaheads allow us to match a pattern followed by another pattern without including the second pattern in our match.

js tutorial about Javascript Regular Expressions: Find the Start and End of Whole Words

Javascript Regular Expressions: Find the Start and End of Whole Words

2:18 js PRO

Regular Expression Word Boundaries allow to perform "whole word only" searches within our source string.

js tutorial about Javascript Regular Expressions: Match the Same String Twice

Javascript Regular Expressions: Match the Same String Twice

3:31 js PRO

Regular Expression Backreferences provide us a method to match a previously captured pattern a second time.

js tutorial about Javascript Regular Expressions: Match the Start and End of a Line

Javascript Regular Expressions: Match the Start and End of a Line

3:19 js PRO

We can identify the start and end of a line using Line Anchors. When dealing with multiple line matches we can utilize the multiline regular expression flag.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?