1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

[Linux] Help removing characters from scraped URLs

Discussion in 'General Programming Chat' started by MikeHustle, Oct 27, 2009.

  1. MikeHustle

    MikeHustle Power Member

    Mar 1, 2009
    Likes Received:
    I used grep to scrape several urls, but I'm having trouble removing the last few useless characters.

    Here's an example: .profile&duid=25970313">energyfitusa20057780</a><

    I need to remove everything after the "...........................

    I'm looking into SED and AWK, but I haven't found a solution yet.