in reply to Re: regex: something...(!something)...something
in thread regex: something...(!something)...something
It does not work... are there any ideas?$x = "<tr><td>1</td><td>2</td><td><font>3</font></td><td>4</td><tr>"; $x =~ s{<td>(?!<td>)3(?!</td>)</td>}{<td>($1)a($2)</td>}; print $x;
Update
deep posts does not appear for some reasons.. I'll post again in the top-level:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: regex: something...(!something)...something
by toolic (Bishop) on Jul 17, 2008 at 17:48 UTC | |
by aaaone (Initiate) on Jul 17, 2008 at 17:53 UTC | |
Re^3: regex: something...(!something)...something
by blazar (Canon) on Jul 18, 2008 at 22:27 UTC |