Learn to Program 15

Learn to ProgramIn this video I start teaching about Regular Expressions. Regular expressions allow you to locate and change strings in very powerful ways. The awesome thing about them is they work in almost exactly the same way in every programming language. We’ll learn to match strings, return all matches, and use ., [ ], [^ ], compile, substitute, \d, \D, \w, \W, \s, \S, +, { }, and much more.

If you missed previous parts of this tutorial start here. All of the code and a transcript of the video follows below.

If you value videos like this consider donating a $1 on Patreon.


Code & Transcript

Leave a Reply

Your email address will not be published.