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?
Another vote for Wallack's idea, but more specifically:
Update YOURTABLENAME set YOURCOLUMNNAME = replace(YOURCOLUMNNAME, '\r\n','')
Essentially this should replace carriage returns and breaks with nothing.
Good luck.