regex for URL in a log file

Discussion in 'Perl Misc' started by Jaga, Oct 2, 2003.

  1. Jaga

    Jaga Guest

    > hail all,
    > I am trying to write a regular expression to match a url in a text

    file.
    > the test file looks like below under the *********
    > I would like to match all the urls a print them out...
    > I think this is easy for most but a pain in the neck for me
    >
    > thanks!
    >
    >
    > ************
    > °;V8q|Ã`<F- ÃL/&¤ ?Q ` h þ  
    > 6/$h :2003091520030922:
    > tfred@http://quintillium.com/mslegal/tssi986
    > URL  ssóq|Ã`<F- ÃL/²¥ ?Q ` h þ  
    > 6/$h :2003091520030922:
    > tfred@http://ninet/Lists/Announcements/DispForm.h
    >
    >
     
    Jaga, Oct 2, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henrik_the_boss
    Replies:
    0
    Views:
    3,094
    Henrik_the_boss
    Nov 5, 2003
  2. Amratash
    Replies:
    0
    Views:
    731
    Amratash
    Apr 13, 2004
  3. Jon paugh
    Replies:
    1
    Views:
    1,365
  4. =?Utf-8?B?VG9tIFdpbmdlcnQ=?=

    My.Log.Writeexception not writing to Application Event Log.

    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=, Jan 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    2,628
    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=
    Jan 20, 2006
  5. unomystEz
    Replies:
    0
    Views:
    747
    unomystEz
    Nov 19, 2006
  6. Replies:
    3
    Views:
    1,096
    Reedick, Andrew
    Jul 1, 2008
  7. Just D.
    Replies:
    0
    Views:
    821
    Just D.
    Aug 11, 2004
  8. Jaga

    regex for URL in a log file

    Jaga, Oct 2, 2003, in forum: Perl Misc
    Replies:
    7
    Views:
    257
    Ted Zlatanov
    Oct 3, 2003
Loading...