To replace line breaks with another character or string, use the 'Find & Replace' feature and input the line break character ( or Ctrl+Enter) in the 'Find what' field. In the 'Replace with' field, input the desired character or string. Then choose the 'Replace All' option to replace all line breaks in your sheet.