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)- A4% (1)
- B4% (1)
- C78% (18)
- D13% (3)
Community Discussion
No community discussion yet for this question.