Android, get number only from String 6월 13, 2016 http://stackoverflow.com/questions/4030928/extract-digits-from-a-string-in-java regex str = str . replaceAll ( "\\D+" , "" ); 자세한 내용 보기