CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [Jeff29] Parsing a text file and outputting to an excel sheet: Edit Log



Jeff29
Novice

Oct 14, 2010, 1:33 AM


Views: 4486
Re: [Jeff29] Parsing a text file and outputting to an excel sheet

My problem now is am printing everything (.*)after the link but I just want only the link

Code
 
($resolution_link) = $match =~ /(http:.*)/;-->Pls suggest on how to modify this line


For example,currently with the above code,the resolution_link gets pritnted as follows
http://wiki.com/error-resolution/fixes/fix31.Do not send e-mail for this issue

where as I only want
http://wiki.com/error-resolution/fixes/fix31



(This post was edited by Jeff29 on Oct 14, 2010, 3:38 PM)


Edit Log:
Post edited by Jeff29 (Novice) on Oct 14, 2010, 3:38 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives