s/(.{1,45}) .*/$1\n/; [download]
In reply to Re: regexp word break help by graff in thread regexp word break help by nop