Checking the Expression

Let's check the regular expression that we came up with in the last lesson by running it through some JS code.

We'll cover the following

Code to verify the expression

Now that we’ve created the regular expression, the only thing left to do is write some JavaScript code to check if it works.

Get hands-on with 1200+ tech skills courses.