How can I find int values within a string <p>I have a string, e.g. <code>"ksl13&lt;br&gt;m4n"</code>, and I want to remove all non-digit characters in order to get the int 134.</p> <p><code>Integer.parseInt(s)</code> obviously isn't going to work, but not sure how else to go about it.</p>