phpMyAdmin从列中选择某些字符串
我正在尝试仅选择以下longText值的a href URL部分(在wp_posts表和post_content列中),
Profonest Unique Hardware - <a href="https://bit.ly/_ADXTxn" target="_blank" rel="noopener">https://bit.ly/_ADXTxn</a>
Pandora Games 3D / Arcade: <a href="https://bit.ly/_AATHpd" target="_blank" rel="noopener">https://bit.ly/_AATHpd</a>
Wedoit Handhelds / Consoles:
所以我所需要的只是ahref
eg中的实际url: https://bit.ly/_adxtxn
有两个链接,如果可能的话,我想抓住这两个链接。
我试图找到确切的端子来搜索解决方案,但是我猜是在post_content类样式查询的位置中搜索regex or;?
I'm trying to select just the a href url portion of the following longtext value (in wp_posts table and post_content column)
Profonest Unique Hardware - <a href="https://bit.ly/_ADXTxn" target="_blank" rel="noopener">https://bit.ly/_ADXTxn</a>
Pandora Games 3D / Arcade: <a href="https://bit.ly/_AATHpd" target="_blank" rel="noopener">https://bit.ly/_AATHpd</a>
Wedoit Handhelds / Consoles:
So all I would need would be the actual URL in the ahref
eg: https://bit.ly/_ADXTxn located within this and not the link before closing the ahref
There are two links and I would like to grab both if possible.
I've tried to get the exact terminolgy to search for a solution but I'm guessing regex or % in a WHERE post_content LIKE style query?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论