Which operator in a regular expression matches the preceding character either zero or one time?

Which operator in a regular expression matches the preceding character either zero or one time?
A. ?
B. *
C. +
D. %
E. $

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “Which operator in a regular expression matches the preceding character either zero or one time?

  1. Izzy, friend. The right answer is “?” (A), because it says zero or one time, not many times in the case of asterisk (*).

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.