From the html source file i’ve to identify tag with inline style attribute using java.
For example
<span id="abc"
style="font-size:11.0pt;font-family:'arial black','sans-serif'; color:#5f497a">
Please help
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.
Using a regex is one way to do it, eg.
Or alternatively, if the HTML is well formed, load it using a parser and then use an XPath.