set asocString to asocString's stringByReplacingOccurrencesOfString:"(?:\\s*(?:\\r\\n|\\r|\\n|\\u2028|\\u2029))+\\s*" withString:lineBreak options:(current application's NSRegularExpressionSearch) range:{0, asocString's |length|()}