Java tutorial
//package com.java2s; public class Main { public static String stripNumberFormatiing(String string) { if (string.contains("(")) { string = string.replaceAll("[^0-9]", ""); } return string; } }