To delete a hyperlink from a database in bulk

Source: Internet
Author: User
If you delete hyperlinks in the database, the link URLs are not the same, it is best to use SQL


Reply to discussion (solution)

Do not know how you save, how to help you?

If you delete a hyperlink in the text, you have to use regular expressions.

Can give a detailed query statement, thank you very much!

or bulk clear HTML format is OK, please help AH ~

Explain what the database is, the version, and then at least give a ballpark figure?

Clear HTML format? Does this mean that the HTML and text in a column are mixed?

Explain what the database is, the version, and then at least give a ballpark figure?

Clear HTML format? Does this mean that the HTML and text in a column are mixed?



mysql5.0 News table has a field content is stored in HTML format, want to clear all HTML tags, if a img or something, only keep plain text, thank you!
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.