PHP Form Validation
Learn how to use PHP to validate HTML forms.
StartKey Concepts
Review core concepts you need to learn to master this subject
Optional Quantifiers in Regular Expressions
Character Sets in Regular Expressions
Literals in Regular Expressions
Fixed Quantifiers in Regular Expressions
Alternation in Regular Expressions
Anchors in Regular Expressions
Regular Expressions
Wildcards in Regular expressions
Optional Quantifiers in Regular Expressions
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
.
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory