in reply to Re^2: 3 capture multi line regex
in thread 3 capture multi line regex
At first line, i find a href= string followed by quotes (single or doble — ["']) containing string free of quoting symbols (i used a negated character class: [^"'] means NOT ["']).href\s*=\s*[\"\'] [^\"\']+ [\"\']\s*> #first href (not c +aptured) \s*([^<>]+?)\s* #text inside first <a></a> +(captured)
instead.\s*(.+?)\s* # non-greedy capturing of everything till the +next </a>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: 3 capture multi line regex
by Anonymous Monk on Jun 30, 2006 at 20:34 UTC | |
by Ieronim (Friar) on Jun 30, 2006 at 21:40 UTC | |
by Anonymous Monk on Jun 30, 2006 at 22:28 UTC |