← All freeCodeCamp videos

JavaScript Lingo: Regular Expressions

18,928 views 223 likes 2015-08-23 1:12 Watch on YouTube ↗ freeCodeCamp ↗
Web DevelopmentFrontendJavaScriptRegular Expressions

Chapters

No chapter markers in this video's description.

Show the creator's full description
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. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.