I want to remove trailing line breaks from my MySQL column. trim() only removes whitespaces but I also want to remove trailing linebreaks. Could anyone suggest?
Try something like this:
REPLACE(FIELD,'\r\n',' ')