Which regular expression matches “color” and “colour”?

Which regular expression matches “color” and “colour”?
A. colour
B. col[0-8]+our
C. colour
D. col[0-9]+our

cisco-exams

One thought on “Which regular expression matches “color” and “colour”?

  1. i really think the question is not good copied. the good one:

    Which regular expression matches “color” and “colour”?
    A. col[0-9]+our
    B. colo?ur
    C. colou?r
    D. col[0-8]+our

    Answer: C

    25
    2

Leave a Reply

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


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