Can anyone tell me which is best to use to extract the following data from a html file which was received with curl .
<script>document.getElementById("test-summary").innerHTML = "<strong>Test Pages:</strong> 1 right, 0 wrong, 0 ignored, 0 exceptions
I will need only the part where
1 right, 0 wrong, 0 ignored, 0 exceptions . based on the following tag :
These are some test results and I will need to make some logic based on these .
If anyone can give a suggestion on how to do this I would be very grateful .