ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 117 - 300-720 discussion

Report
Export

The CEO sent an email indicating that all emails containing a string of 123ABCDEFGHJ cannot be delivered and must be sent into quarantine for further inspection. Given the requirement, which regular expression should be used to match on that criteria?

A.

\\D{3}[A-Z]{9}

Answers
A.

\\D{3}[A-Z]{9}

B.

\d{3}[A-Z]{9}

Answers
B.

\d{3}[A-Z]{9}

C.

\W{3}[A-Z]{9}

Answers
C.

\W{3}[A-Z]{9}

D.

{3}\d{9}[A-Z]

Answers
D.

{3}\d{9}[A-Z]

Suggested answer: B

Explanation:

A regular expression is a sequence of characters that defines a search pattern for text. To match a string of 123ABCDEFGHJ, you need to use the following regular expression: \d{3}[A-Z]{9}. This expression means that the string must start with three digits (\d{3}), followed by nine uppercase letters ([A-Z]{9}). This expression will match any string that has the same format as 123ABCDEFGHJ.

Reference = User Guide for AsyncOS 12.0 for Cisco Email Security Appliances - GD (General Deployment) - Regular Expressions [Cisco Secure Email Gateway] - Cisco

asked 10/10/2024
Jason Evans
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first