Which regular expression would match any string that contains 4 consecutive zeros?
- {0-4}
- [0-4]
- 0{4}
- ^0000
Explanation: The regular expression 0{4} matches any string that contains 4 repetitions of zero or 4 consecutive zeros.
More Questions: CyberOps Associate (Version 1.0) - CyberOps Associate (200-201) Certification Practice Exam
Please login or Register to submit your answer