in reply to regular expression and nested tags
What is going on with the not greedy regexpr?
Non-greedy stops at earliest position where the pattern will match (before the first </div>).
Greedy stops at latest position where the pattern will match (before the last </div>).
|
|---|