Gossamer Forum
Home : General : Perl Programming :

Swapping link and text?

Quote Reply
Swapping link and text?
<a HREF="http://www.test.com/cgi-bin/test.pl" target="new">
FRI Mar 3, 00, 11:47 AM</A>
Message one two three four text goes here<BR>

What kind of statement or expression I need to build, if I want to swap Time and Message other way around: Message first and then time. And also I want message to be the link, and time just text?

$swap =~ s/{notsure1}{something likethis}/sig;

I have no Idea Smile

------------------
Hank Osterlund
hank@modernmenus.com
www.modernmenus.com
Answers for your tough questions.


[This message has been edited by Hank (edited March 05, 2000).]
Subject Author Views Date
Thread Swapping link and text? Suomi 2798 Mar 5, 2000, 6:35 PM
Post Re: Swapping link and text?
Mark Badolato 2689 Mar 5, 2000, 8:49 PM
Post Re: Swapping link and text?
Suomi 2687 Mar 6, 2000, 1:51 AM