how can i use RegExp to grap data from this site? [duplicate]
Possible Duplicate:
RegEx match open tags except XHTML self-contained tags
i want to grap data from this site using RegExp http://www.islamqa.com/en/ref/20494 specially data in div with class="subject-container"
i tried this
/<div class="subject-container">(.*?)<\/div>\s*/is
but it gave me Invalid RegExp
why?
inside html code:
<div class="subject-container" >
possibly missed one space
/<div class="subject-container"\s*>(.*?)...
精彩评论