Regex in Javascript

Watch User Created Playlist (10)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Get Started with Regular Expressions in JavaScript

Find Plain Text Patterns using Regular Expressions

P

Use Regular Expressions to Find Repeated Patterns

P

Use Character Classes in Regular Expressions

P

Use Shorthand Regular Expression Character Classes

P

Create Capture Groups in Regular Expressions

P

Use Lookaheads in Regular Expressions

P

Find the Start and End of Words with Regular Expression Word Boundaries

P

Match the Same String Twice with Backreferences in Regular Expressions

P

Find Patterns at the Start and End of Lines with Line Anchors in Regular Expressions

P
js tutorial about Get Started with Regular Expressions in JavaScript

Get Started with Regular Expressions in JavaScript

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 Find Plain Text Patterns using Regular Expressions

Find Plain Text Patterns using Regular Expressions

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 Use Regular Expressions to Find Repeated Patterns

Use Regular Expressions to 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 Use Character Classes in Regular Expressions

Use Character Classes in Regular Expressions

2:41 js PRO

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

js tutorial about Use Shorthand Regular Expression Character Classes

Use Shorthand Regular Expression Character Classes

1:42 js PRO

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

js tutorial about Create Capture Groups in Regular Expressions

Create Capture Groups in Regular Expressions

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 Use Lookaheads in Regular Expressions

Use Lookaheads in Regular Expressions

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 Find the Start and End of Words with Regular Expression Word Boundaries

Find the Start and End of Words with Regular Expression Word Boundaries

2:18 js PRO

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

js tutorial about Match the Same String Twice with Backreferences in Regular Expressions

Match the Same String Twice with Backreferences in Regular Expressions

3:31 js PRO

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

js tutorial about Find Patterns at the Start and End of Lines with Line Anchors in Regular Expressions

Find Patterns at the Start and End of Lines with Line Anchors in Regular Expressions

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?