How to remove text between 2 characters using query in MYSQL

前端 未结 4 1115
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 20:00

I have table with field called description which contains text like following

|Description                              |
|----------------------------------         


        
4条回答
  •  终归单人心
    2021-01-15 20:34

    How about REPLACE() using a wildcard to capture the unknown text between opening and closing brackets? http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace

提交回复
热议问题