JavaScript Lingo: Regular Expressions
RegExp (Regular Expressions) in JavaScript
RegExp is not formatted like anything else in JS, and can have a steep learning curve.
RegExp can also be an incredibly useful and efficient tool.
Using RegExp, you can match, replace, search, and split a string, one of the more difficult types of values to manipulate.
Like with all of the other videos, we won't get into the nitty gritty, but I want to show you a few examples of where RegExp is useful.
If you wanted to create a registration page that verified passwords contained at least a number and a capital letter, you could use RegExp.
If you wanted to ensure that dates entered in a page were all valid dates in the future, you could use RegExp.
While there are limitless ways to use RegExp, many of them include validating information that users input.
Other Videos By freeCodeCamp.org
2015-09-20 | Big O Notation: What It Is and Why You Should Care |
2015-08-24 | Chrome Dev Tools: Summary Tab |
2015-08-24 | Chrome Dev Tools: Console Tab |
2015-08-24 | Chrome Dev Tools: Audits Tab |
2015-08-24 | Chrome Dev Tools: Resources Tab |
2015-08-24 | Chrome Dev Tools: Memory Tab |
2015-08-24 | Chrome Dev Tools: Timeline Tab |
2015-08-24 | Chrome Dev Tools: Sources Tab |
2015-08-24 | Chrome Dev Tools: Network Tab |
2015-08-24 | Chrome Dev Tools: Elements Tab |
2015-08-23 | JavaScript Lingo: Regular Expressions |
2015-08-23 | JavaScript Lingo: Loops |
2015-08-23 | JavaScript Lingo: Math |
2015-08-23 | JavaScript Lingo: Manipulating Data |
2015-08-23 | JavaScript Lingo: Finding and Indexing Data in Arrays |
2015-08-23 | |
2015-08-23 | JavaScript Lingo: Variables & camelCase |
2015-08-23 | JavaScript Lingo: Value Types |
2015-08-23 | JavaScript Lingo: MDN and Documentation |
2015-07-17 | Computer Basics 17: How Routers and Packets work |
2015-07-17 | Computer Basics: Chips and how Moore's Law works |