InterviewSolution
Saved Bookmarks
| 1. |
Which of the following matches end of the string using regular expression in java?(a) \z(b) \\(c) \*(d) \ZThe question was asked in final exam.This interesting question is from Regular Expression topic in chapter Regular Expressions of Java |
|
Answer» CORRECT answer is (a) \z Explanation: \z is used to match END of the ENTIRE string in regular expression in java. |
|