I have data that looks like this:
<b><a href="/title/tt3645068/"
<b><a href="/title/tt2741602/"
- <a href="/title/tt3173408/"
<b><a href="/title/tt1442464/"
- <a href="/title/tt2605802/"
<b><a href="/title/tt0103569/"
I am trying to replace everything before /title and replace it with https://imdb.com
I tried something like this but it doesn't work:
sed "s/^.*href='/https\:\/\/www\.imdb\.com/"
Can you please help me correct this error?