2.1: Introduction to Regular Expressions – Programming with Text

2.1: Introduction to Regular Expressions – Programming with Text

This video is part of week 2 of the “Programming from A to Z” course at ITP (

In this video I introduce Regular Expressions. What are they and how are they used? I summarize the topics of future videos including meta-characters, capturing parentheses, character classes and JavaScript functions like split(), match(), test(), replace() and exec().

Next Video:

Course url:

Support this channel on Patreon:

Send me your questions and coding challenges!:


GitHub Repo with all the info for Programming from A to Z:

Links discussed in this video:
MDN’s Regular Expressions Reference:
Regular Expressions on Wikipedia:
Book Mastering Regular Expressions:
ITP from Tisch School of the Arts:

Source Code for the all Video Lessons:


For More Programming from A to Z videos:

For More Coding Challenges:

Help us caption & translate this video!

???? Code of Conduct:

#Introduction #Regular #Expressions #Programming #Text

learn regex

regex,regular expression,regular expressions,tutorial,programming for beginners,p5.js,coding,daniel shiffman,creative coding,javascript,javascript (programming language),string object,text input,text field,regex javascript,regexp,regular expressions javascript,programming from a to z,intro regex,introduction regex

Learn Regular Expressions (Regex) – Crash Course for Beginners

Learn Regular Expressions (Regex) – Crash Course for Beginners

Regular expressions (or Regex) are patterns used to match character combinations in strings. In this crash course tutorial, you will learn how to use regular expressions in JavaScript. You will be able to apply the concepts to any programming language.

This course follows along with the free regular expressions curriculum at freeCodeCamp.org:

You can also view this course on Scrimba.com:

⭐️ Contents ⭐️
⌨️ (01:04) Using the Test Method
⌨️ (02:15) Match Literal Strings
⌨️ (02:57) Match a Literal String with Different Possibilities
⌨️ (03:46) Ignore Case While Matching
⌨️ (04:45) Extract Matches
⌨️ (05:32) Find More Than the First Match
⌨️ (07:16) Match Anything with Wildcard Period
⌨️ (08:54) Match Single Character with Multiple Possibilities
⌨️ (10:14) Match Letters of the Alphabet
⌨️ (10:04) Match Numbers and Letters of the Alphabet
⌨️ (12:15) Match Single Characters Not Specified
⌨️ (13:32) Match Characters that Occur One or More Times
⌨️ (14:19) Match Characters that Occur Zero or More Times
⌨️ (15:32) Find Characters with Lazy Matching
⌨️ (18:54) Find One or More Criminals in a Hunt
⌨️ (19:58) Match Beginning String Patterns
⌨️ (20:53) Match Ending String Patterns
⌨️ (21:40) Match All Letters and Numbers
⌨️ (22:48) Match Everything But Letters and Numbers
⌨️ (23:35) Match All Numbers
⌨️ (24:04) Match All Non-Numbers
⌨️ (24:40) Restrict Possible Usernames
⌨️ (27:29) Match Whitespace
⌨️ (27:56) Match Non-Whitespace Characters
⌨️ (28:25) Specify Upper and Lower Number of Matches
⌨️ (29:40) Specify Only the Lower Number of Matches
⌨️ (30:10) Specify Exact Number of Matches
⌨️ (30:47) Check for All or None
⌨️ (31:38) Positive and Negative Lookahead
⌨️ (35:09) Reuse Patterns Using Capture Groups
⌨️ (40:18) Use Capture Groups to Search and Replace
⌨️ (43:18) Remove Whitespace from Start and End

???? Course created by Beau Carnes. Follow Beau on Twitter:

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology:

#Learn #Regular #Expressions #Regex #Crash #Beginners

learn regex

regular expressions,regular expressions tutorial,regex tutorial,regex,regexs,regexp,rational expression,regex course,python,regular expression,java,javascript,programming,string,strings,text,pattern matching,match patterns,python re,computer science,javascript regular expressions,java regular expressions,python regular expressions,software engineering,tutorial,regular expressions course