Skip to content

Instantly share code, notes, and snippets.

@jamesstacyjones
Created May 1, 2015 12:54
Show Gist options
  • Save jamesstacyjones/1a77649f24a81c7d7294 to your computer and use it in GitHub Desktop.
Save jamesstacyjones/1a77649f24a81c7d7294 to your computer and use it in GitHub Desktop.
Remove Line Breaks from a Cell in Google Sheets
Copy this Regular Expression into Find / Replace:
\r\n|\n|\r
Then click 'Replace All' and bye bye line breaks.
[note] make sure there is no white space before or after the expression
@lawrencetaur
Copy link

lawrencetaur commented May 22, 2017

@knope follow this method in combination with the above gist https://webapps.stackexchange.com/a/82866

@brucewlee
Copy link

@knope It still does. Make sure you chose the regex option on all sheets in the find&replace tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment