• Post author:
  • Post category:Blog
  • Reading time:2 mins read
  • Post last modified:June 12, 2024

Which regular expression would match any string that contains 4 consecutive zeros?

  • [0-4]
  • 0{4}
  • {0-4}
  • ^0000

Explanation & Hint:

The regular expression 0{4} matches any string that contains 4 repetitions of zero or 4 consecutive zeros.

For more Questions and Answers:

CyberOps Associate (200-201) Certification Practice Exam Answers Full 100%

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments