SPUG: Anyone savvy in this?
Dan Ebert
mathin at mathin.com
Wed Jan 30 11:51:53 CST 2002
Dan.
----------------------------------------------------------
Immigration is the sincerest form of flattery.
- Unknown
----------------------------------------------------------
*snip*
On Wed, 30 Jan 2002, Tim Maher wrote:
>
> >
> > Basically, I want to look at that string in $row[4], find all instances of
> > <br /> and replace it with line breaks.
>
> Then I think you want:
>
> $row[4] =~ s|<br */>|<br>|g;
>
Or if you want literal line breaks instead of HTML breaks:
$row[4] =~ s|<br */>|\n|g;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list