Cisco
200-201 · Question #497
Which regular expression matches loopback IP address (127.0.0.1)?
The correct answer is C. 127\.0\.0\.1. Regular expressions (regex) use special characters that need to be escaped with a backslash (\) to be interpreted literally. In this case, the dot (.) is a metacharacter in regex that matches any character. To specifically match the dots in the loopback IP (127.0.0.1), they…
Submitted by noor.lb· Mar 6, 2026Security Concepts
Question
Which regular expression matches loopback IP address (127.0.0.1)?
Options
- A&127%0%0%1
- B%127.0.0.1%
- C127.0.0.1
- D127[.0.].0.\
How the community answered
(32 responses)- A3% (1)
- B6% (2)
- C91% (29)
Explanation
Regular expressions (regex) use special characters that need to be escaped with a backslash () to be interpreted literally. In this case, the dot (.) is a metacharacter in regex that matches any character. To specifically match the dots in the loopback IP (127.0.0.1), they must be escaped
Topics
#regular expressions#regex#IP addressing
Community Discussion
No community discussion yet for this question.