I would ask you help me to solve this problem . How i can find numbers from this word? Problem is that: S1e2n3t4e5n6c7e Result should be : 1234567 Thanks for attention...
Asked
Active
Viewed 72 times
-4
-
1Have you tried something so far ??? If so share with us ... – Madushan Perera Nov 21 '15 at 15:07
1 Answers
-2
You can do :
"S1e2n3t4e5n6c7e".replaceAll("[^0-9]+", "");

Prim
- 2,880
- 2
- 15
- 29
-
2You should let OP to provide what he has done so far.. Giving an answer right away not let people to think and come up with a solution... – Madushan Perera Nov 21 '15 at 15:10
-
1