package com.cg.tests;import java.util.regex.Matcher;import java.util.regex.Pattern;import org.junit.Test;public class TestPatternMatcher { @Test public void TestReplaceAll(){ String s="Hello World ..."; String s2=s.replaceAll("\\.", ""); System.out.println(s2); String s Read More
posted @ 2012-07-09 22:43 庚武 Views(210) Comments(0) Diggs(0) Edit