IBM
C2150-195 · Question #102
Which regex should be used to capture only the domain name blackbox.computerfor all future machine names based on this example? `Computer=3 8 9.blackbox.computer'
The correct answer is D. Computer=. *?\. (.*?)\s. See the full explanation below for the reasoning.
Question
Which regex should be used to capture only the domain name blackbox.computerfor all future machine names based on this example? `Computer=3 8 9.blackbox.computer'
Options
- AComputer= (. *?) \s
- BComputer=389. (.*?)\s
- CComputer=(389..*?)\s
- DComputer=. ?. (.?)\s
How the community answered
(62 responses)- A6% (4)
- B16% (10)
- C3% (2)
- D74% (46)
Community Discussion
No community discussion yet for this question.