I have a lengthy, dynamically generated paragraph containing both alphabetic and numeric characters.
Query: How can I filter out all alphabetic characters from the paragraph and only display the numeric ones?
For instance:
<div class="mytexts">
Some texts stackoverflow 8595 google yahooo 44871 facebok blaaa blaaa 445 blaa blaaa
</div>
The desired outcome: 8595 44871 445
Any suggestions on how to achieve this?
Thank you!