Examveda

what does public String replaceAll(string replace) do?

A. Replace all characters that matches pattern with a replacement string

B. Replace first subsequence that matches pattern with a replacement string

C. Replace all other than first subsequence of that matches pattern with a replacement string

D. Replace every subsequence of the input sequence that matches pattern with a replacement string

Answer: Option D


This Question Belongs to Java Program >> Regular Expressions In Java

Join The Discussion

Related Questions on Regular Expressions in Java