Showing posts with label Reg Ex. Show all posts
Showing posts with label Reg Ex. Show all posts

Monday, 25 February 2013

Replace a * character from String in java using Pattern

Leave a Comment

         String str = "Hello*";
String s = str.replaceAll(Pattern.quote("*")," ");
System.out.println(s);
Read More...