Calling all sed experts - get the text between two strings

Can you use awk?


Code:
echo '<a href="https://mydomain.com/w/1zqKVXrnLXpJB" tabindex="2" target="_blank"> <span id="i_id17"><iframe src="/out2.htm#https://anotherdomain.com/Transcoding/v1/blah/blah/latest.json?token=blah7&&https://mydomain.com/w/blah" frameborder="0" scrolling="no" width="170px" height="128px"></iframe></span> </a>' | awk -F# ' {print $2}' | awk -F? {'print $1}'
 
Top
Sign up to the MyBroadband newsletter
X