I have an unordered list like this
<ul>
<li>Some text</li>
<li>Something else here</li>
<li>#345</li>
</ul>
I need to only take away the number that is in the third list item and filter everything else out. It is possible that a number could be found within the first or second list items.
How can I do a loop that extracts my number from the third <li> item every time and places it into a variable?






Bookmarks