nerdexam
Blue_Coat

BCCPP · Question #47

Which regular expression should you test against a URL to match both http and https schemes?

The correct answer is C. ^https? See the full explanation below for the reasoning.

Question

Which regular expression should you test against a URL to match both http and https schemes?

Options

  • A2https?
  • B[http][https]
  • C^https?
  • Dhttp[s]

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    78% (18)
  • D
    13% (3)

Community Discussion

No community discussion yet for this question.

Full BCCPP Practice