Which of the following matches end of the string using regular expression in java?
(a) \z
(b) \\
(c) \*
(d) \Z
The question was asked in final exam.
This interesting question is from Regular Expression topic in chapter Regular Expressions of Java
Select the correct answer from above options