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>).
In reply to Re: regular expression and nested tags
by ikegami
in thread regular expression and nested tags
by vitoco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |