Java tutorial
//package com.java2s; public class Main { private static String cleanNumber(String number) { return number.replaceAll("\\s", ""); } }