https://school.programmers.co.kr/learn/courses/30/lessons/120851
class Solution {
public int solution(String my_string) {
int answer = 0;
String [] arr = my_string.replaceAll("[a-zA-Z]","").split("");
for (String s : arr) {
if (!s.equals("")) {
answer += Integer.parseInt(s);
}
}
return answer;
}
}