我试图从这个字符串中提取一个字符串:
...width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F84915247&color=da1716&auto_play=false&show_artwork=true"...
我想要的只是 URL 部分:
http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F84915247&
这是我制作的正则表达式:
$regex = "/^httpamp$/", but it does not work.