I am stumped, none of these are working.  I even tried something like 
$url=~s/\t*^\.htm/\.htm/g
But I'm not sure if that is even remotely close.  Incase this might
help, here are a couple of lines BEFORE my new line.

        $url = substr($url, 18, -3);   #removes the java script text to
get the filename
        $url =~ s/^\s+//;      #removes white space at beginning of
filenames
        $url =~ s/<br>//gs;        #removes accidental <br> in the file
name
        $url=~s/\t*^\.htm/\.htm/g  #the troubled line I can't figure
out, remove the space between filename and .htm

Thanks again for everyones help!

-Scott


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, August 06, 2001 5:09 PM
To: [EMAIL PROTECTED]
Cc: Perl Help; 'Mooney Christophe-CMOONEY1'
Subject: RE: Remove White Space


make sure you are also getting rid of tabs

$var=~s/\t*^//g

"The software said it required Windows 3.1 or better so I installed
Linux. "

Royce Wells
Unix Systems Engineer
Dept # 8023
103 S. Front St.
Memphis, TN 38101
Phone: (901)495-7538
Fax: (901)495-3300
------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to