How to extract the up vote (215) and Down vote (82) count from the following html snippet using python regular expression?
<span class="vote-actions">
<a class="btn btn-default vote-action-good">
<span class="icon thumb-up black black-hover"> </span>
<span class="rating-inbtn">215</span>
</a>
<a class="btn btn-default vote-action-bad">
<span class="icon thumb-down grey black-hover"> </span>
<span class="rating-inbtn">82</span>
</a>
</span>
I have formatted the html Code but there is no '\n' or '\t' character present in the original code.
FYI i am not expecting any beautiful soup solution. Python Re search function is what I am looking for.