Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 bash 的新手,我想提取 html 文件的 rtsp url(就像子字符串一样),rtsp 地址在文件中,如下所示:
"rtsp://www.address.com:9843/blablabla/blablabla@3134"
有任何想法吗?非常感谢您。
疯狂的猜测,因为非常模糊的问题:
perl -wne 'print $& if /"rtsp:.*?"/' file.html