Regular Expressions in JavaScript
Treehouse
Course Summary
Learn how regular expressions can help you validate forms, search and replace in strings, and more. Regular expressions match patterns in strings. Pattern matching is a powerful tool programs can use to "understand" the text users type in.
-
+
Course Description
About this Course Learn how regular expressions can help you validate forms, search and replace in strings, and more. Regular expressions match patterns in strings. Pattern matching is a powerful tool programs can use to "understand" the text users type in. What you'll learn
- regular expressions
- form validation
- match
- replace
About the Teacher
Joel is a web developer, as well as an author and teacher of JavaScript content at Treehouse. Joel lives in Portland, Oregon with his wife and two-year-old daughter.
-
+
Course Syllabus
Regular Expressions
Learn what an expression is and get started working with them right away. 10 steps- What is a Regular Expression? 4:01
- Matching Specific Characters 4:36
- Matching Character Ranges 1:58
- Using Wildcard Characters 3:51
- Finding Repeated Characters 4:47
- Excluding Characters 3:13
- Alternation 1:26
- Groups 3:08
- Beginning and Ending of Strings 2:01
- Review: Regular Expressions 5 questions
Validating a Form
Validate a form using regular expressions. 10 stepsReformatting User Input
Manipulate data you get from the user and display it in a different format. 5 steps