I want to extract a sentence from a web string. I can get what I want by using <span class="description">(.*?)</span> for picture1. It is ok. But web string which you can see in picture 2, "<span class="description">(.*?)</span>" doesn't work to extract text. since "</span>" on a different line. I have tried "([?\s\S]*?) instead of (.*?), still it didint work. Plaease help me. Thanks in advaced.