JavaScript Lingo: Regular Expressions

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=EgFjQ8ug3W8



Duration: 1:11
15,282 views
157


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.







Tags:
Mozilla Developer Network
Free Code Camp
Pair Programming
Node.js
AngularJS
MongoDB
SQL
Code
Learn to Code
non-profits
full stack
coding bootcamp
software engineer
open source
Software
Data
System
Technology
Web Development
Javascript