ServiceNow Certified Implementation Specialist – Service Mapping — Question 1

Which one of the following best represents the output from the following Regular Expression?
([\w\d\-\.]+)

Answer options

Correct answer: A

Explanation

The correct answer is A because the '+' quantifier in the Regular Expression indicates that the preceding character set can match one or more times, which can be unlimited. Options B, C, and D are incorrect as they restrict the number of matches to a specific count, which does not reflect the behavior of the '+' quantifier.