Key Concepts

Review core concepts you need to learn to master this subject

Optional Quantifiers in Regular Expressions

In Regular expressions, optional quantifiers are denoted by a question mark ?. It indicates that a character can appear either 0 or 1 time. For example, the regular expression humou?r will match the text humour as well as the text humor.

Introduction to Regular Expressions
Lesson 1 of 1

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo