Thursday, 8 August 2013

How to make this json regex greedy

How to make this json regex greedy

I have a regex like this in my json file
"body": {
"content": "<div class=(?:\"|')content(?:\"|')
[^>](.*?)</div>\\;content:\\1",
}
As of now its only match first content div.
Can someone tell me how to make it greedy?

No comments:

Post a Comment