I have a xml file with a 1 line long string
I want to extract the number after "<yt:duration seconds='" and before "'/>"
like the following example, I want to get 131
the "...." here means the substrings before and after "<yt:duration seconds='131'/>", which are long with different characters, numbers and marks.Code:.....<yt:duration seconds='131'/>....
how to use sed for extracting the matching number?
thanks
