Implementing and Operating Cisco Service Provider Network Core Technologies (SPCOR) — Question 272

Which regular expression query modifier function indicates the start of a string?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the caret (^) symbol is used in regular expressions to denote the start of a string. Options A, C, and D represent different functionalities: A (plus) indicates one or more occurrences, C (dollar) signifies the end of a string, and D ([^]) is a character class that matches any character not listed.