IBM
A2150-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
(60 responses)- A15% (9)
- B7% (4)
- C3% (2)
- D75% (45)
Community Discussion
No community discussion yet for this question.