Which of the following regular expressions will match the strings “cat” and…
PYQ IBPS SO CRP SPL-XV (2025)
Which of the following regular expressions will match the strings “cat” and “bat”, but not “at”?
- A.
^.[cb]at$
- B.
[cat|bat]
- C.
^at$
- D.
^[cb]at$
- E.
.*at$
Attempted by 24 students.
Sign up free to check your answer
Sign up freeLoading lesson…

