import java.util.regex.Pattern; public class ReplaceCharacter { public static void main(String[] args) { String str="javatpoint"; System.out.println(Pattern.compile("a").matcher(str).replaceAll("help")); } } | 0 |
By: [email protected] On: Fri Feb 17 14:39:16 IST 2017 0 0 0 | 0 |
Are You Satisfied :0Yes0No |
import java.util.regex.Pattern; public class ReplaceCharacter { public static void main(String[] args) { String str="javatpoint"; System.out.println(Pattern.compile("a").matcher(str).replaceAll("help")); } } | 0 |
By: [email protected] On: Fri Feb 17 14:39:34 IST 2017 0 0 0 | 0 |
Are You Satisfied :0Yes0No |