I have a webpage which contains the followsing code snippet containg links to videos:
<a href="video.php?video=sampel1.mov">
<a href="video.php?video=anothersample.mov">
<a href="video.php?video=yetanothersample.mov">
I want to use sed and regular expression to extract the video names, eg:
sampel1.mov
anothersample.mov
yetanothersample.mov
so I can use wget to download them.
Thanks a lot!
Give this a try:
With GNU
grep:Pipe either of those commands through
xargs: