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;
In reply to Re: regex help
by davidrw
in thread regex help
by GaijinPunch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |