Mysql – Replace a substring found using Regex in a column
I have a table in MySQL 8. In a varchar column, I want to replace long substrings by another substrings. I can find those rows using this regex: SELECT notetext FROM mytable WHERE notetext REGEXP '[a-zA-Z0-9_.:/-]{25,}'; This Regex searches for…