in reply to regex help
to this to ditch the "can't substitute in a substitute" error:( ( $result = $htmlline ) =~ s/<tag marker>(.+?)</td>/$1/ ) =~ s/<br>/ +/g;
( ( $result = $htmlline ) =~ s#<tag marker>(.+?)</td>#$1# ) =~ s/<br>/ +/g && $result =~ s/<br>//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex help
by GaijinPunch (Pilgrim) on Jun 27, 2005 at 02:11 UTC |