Extract text with sed
Here I search for the contents of all src (from an HTML tag) attributes in the files in a folder.
sed -n 's/.*src="\([^"]*\).*/\1/p' *
Here I search for the contents of all src (from an HTML tag) attributes in the files in a folder.
sed -n 's/.*src="\([^"]*\).*/\1/p' *