Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Regular Expressions in JavaScript!
You have completed Regular Expressions in JavaScript!
Preview
A Regular Expression lets you match patterns in strings. We'll start with a simple example, using the Chrome browser's find functionality.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Hi, I'm Joel, a JavaScript developer and
teacher at Treehouse.
0:00
Welcome to Regular Expressions
in JavaScript.
0:00
Have you ever wondered how search
bars find the text you type in?
0:04
Or maybe when you are filling out a form,
0:07
it told you had entered
an invalid email address.
0:09
How did it know?
0:13
Regular expressions is the answer.
0:15
In this course, I'll show you
what regular expressions are.
0:18
And we'll get some practice using them.
0:21
Then we'll build a form that uses regular
expressions to validate the data typed in.
0:23
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up