As we move past letter-by-letter translations into regex, the ability to take our metacharacters and subexpressions and either make them optional or have them repeat for determinate or indeterminate amounts becomes necessary. When using repetition, it's the metacharacter or subexpression that's being matched, not the match itself. In this lesson, we look at the various repetition metacharacters, then use them in conjunction with what we've learned in previous lessons to create a regular expression for a website.
Get the lesson files here!: