cut text from each line in a txt file
Posted
by
bboyreason
on Super User
See other posts from Super User
or by bboyreason
Published on 2011-02-28T01:00:07Z
Indexed on
2011/03/05
15:27 UTC
Read the original article
Hit count: 250
i have a text file where each line looks like this:
<img border=0 width=555 height=555 src=http://websitelinkimagelinkhere>
each line is like that for like 1500 lines, i want to sort of 'grep' (i dont think that will work because it returns the whole line) each line for 'http://websiteimagelinkhere'
output file should have newlines or tabs after each image link, like the original file.
or if someone only knows a way to do this with each element being in a cell of the same column that would be okay too.
© Super User or respective owner