[Linux] Help removing characters from scraped URLs

MikeHustle

Power Member
Joined
Mar 1, 2009
Messages
635
Reaction score
241
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.

Thanks
 
Back
Top