i Got Code :
<td onclick="goMailDetails(8841926)" title="Otwórz wiadomość" class="even1 small borderRight" valign="top">Sample
</td>
How to get Only 8841926 by Javascript/Jquery by regexp?
Based on what you have posted the following jQuery would work –
Demo – http://jsfiddle.net/vZhEe/