how can i use RegExp to grap data from this site ?

Posted by manhag on Stack Overflow See other posts from Stack Overflow or by manhag
Published on 2010-04-17T04:01:22Z Indexed on 2010/04/17 4:13 UTC
Read the original article Hit count: 200

Filed under:

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?

© Stack Overflow or respective owner

Related posts about regexp