Which regular expression matches cat and bat, but not at?
PYQ IBPS 2025 (paper not recorded)
Which regular expression matches cat and bat, but not at?
- A.
^.[cb]at$
- B.
[cat|bat]
- C.
^at$
- D.
^[cb]at$
- E.
.*at$
Attempted by 190 students.
Sign up free to check your answer
Sign up freeLoading lesson…

