In an html source code with a fragment like this:
of <span class="important">721,006</span>
I want to extract number 721,006. There could be more than one so I need the word “of” to get the real one.
Could you help me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think is a very simple regex, since you don’t add any extra requirements:
Example