how to remove urls dont have .aspx type??scrapebpx

bleach

Senior Member
Joined
Oct 12, 2008
Messages
991
Reaction score
87
i want to ask.
For example i scraped 10k of urls blog engine and i want to remove urls that dont have .aspx type
What can i do?
 
Code:
http://textmechanic.com/Remove-Lines-of-Text-Containing.html

in the 'search for text' line, input the .aspx or w/e you want to contain in the urls, paste the list in the box, hit 'remove lines NOT containing' and boom--good to go.
 
You can also use grep. Save the results to file and then grep .aspx file.txt > newfile.txt in Linux or use grep for windows.
 
You can also use grep. Save the results to file and then grep .aspx file.txt > newfile.txt in Linux or use grep for Windows.
 
You can also use grep. Save the results to file and then grep .aspx file.txt > newfile.txt in Linux or use grep for windows.
 
Does he have to use Grep 3 times though? Or is once enough?
 
sorry...something went wrong while posting yesterday. maybe someone can delete these other posts.
 
Back
Top