Regular Expressions

Programming with Text session #2

Session 2 - “Regular Expressions” of my Programming with Text video series.

#2.2

Meta-characters

16 Sep 2016

In this video I discuss meta-characters: what are they and what role do they play in regular expressions?

#2.3

Character Classes

16 Sep 2016

In this video, I explain character classes which are a way of matching a selection of characters in a regular expression.

#2.4

Capturing Groups

17 Sep 2016

In this video I discuss capturing parentheses and how they are used to create numbered groups that referenced in a find/replace operation.

#2.5

Back References

18 Sep 2016

In this short tutorial, I explain the concept of “back references” and explore how they are used to match the characters previously matched by capturing parentheses (groups) in a regular expression (regex).

#2.6

test() and match()

18 Sep 2016

In this video, I discuss how to use regular expressions with theJavaScript programming language.

#2.7

exec()

18 Sep 2016

In this video, I discuss another JavaScript function for regular expressions: exec().

#2.8

split()

19 Sep 2016

This video covers split() – a JavaScript String function, which is used to split a given piece of text into “tokens” based on a “delimiter” as defined by a regular expression.

#2.9

replace()

19 Sep 2016

In this video, I cover the JavaScript function replace(). The function allows you to search for a string (by matching a regular expression) and replace that string.

#2.10

Homework Assignments Week 2

19 Sep 2016

In this short video I discuss a creative assignment around the topic of Regular Expressions in Week 2 of “Programming from A to Z”.