(String[] args)
| 7 | */ |
| 8 | public class RegexDemo { |
| 9 | public static void main(String[] args) { |
| 10 | // ������̳�в��ܳ��������ַ�����*�滻 |
| 11 | String s = "hellowodekahaoshi62212934564347892nikyidaqiangeiwoxiexie13212345678gaowoyishen"; |
| 12 | |
| 13 | // String ss = s.replaceAll("\\d", "*"); |
| 14 | // String ss = s.replaceAll("\\d", ""); |
| 15 | String ss = s.replaceAll("\\d+", "***"); |
| 16 | |
| 17 | System.out.println(ss); |
| 18 | } |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected