Night at the Museum: Secret of the Tomb, 2014 (HBO)
Basic, 2003 (HBO)
Beatriz at Dinner, 2017 (HBO)
Best of Enemies, 2015 (HBO)
Bloodsport, 1988 (HBO)
What it should be is this
A Dangerous Method, 2011
Night at the Museum: Secret of the Tomb, 2014 (HBO)
Basic, 2003 (HBO)
Beatriz at Dinner, 2017 (HBO)
Best of Enemies, 2015 (HBO)
Bloodsport, 1988 (HBO)
This is what I use. It takes what's in the clipboard and removes the blank lines. There may be better ways of doing this and you would need to test it on your setup.
Hope this helps
{=replaceregex({clipboard}, "\n", " ", "sg")}
Note: The sg flags are explained below taken from the help docs.
When the multi-line flag ("s") is set, the "." special character will match multiple lines.
The global flag ("g") is only supported in replaceregex. When it is set, the search will replace all matches instead of only the first match.
Andy's answer is correct, but if you're on Windows, and getting data from the clipboard command, your newline endings will be \r\n instead of just \n. Try this: