I have a string
str = <iframe width="420" height="315" src="https://www.youtube-nocookie.com/embed/jc8zayasOB8" frameborder="0" allowfullscreen></iframe>
and I want to take the substring in src - ie 'https://www.youtube-nocookie.com/embed/jc8zayasOB8'. So how can we achieve this. I tried this
my_string="hello python world , i'm a beginner "
print my_string.split("world",1)[1] .
But it gives all string after world . I want only the substring inside src.