Sublime Forum

Placing comma with carriage return / newline

#1

So far I have not found a plugin or the use of the simple replace command to replace commas with a comma and carriage return so that the data is on its own separate line

If there is a command that the replace will take for carriage return I have not found it - most editors will imply use \r and/or \n but they dont work in T3

thanks

0 Likes

#2

You need to turn on the “Regular expressions” option on the find/replace panel if you want the “\n” to work. Obviously, you would then be using regular expression so that may affect how your find query is interpreted.

Alternatively, in the Replace With textbox just hit Ctrl+Enter and that will insert a newline. The whole panel will expand a bit to accommodate the extra line(s).

1 Like

#3

thanks

That worked

I searched the web and could not find this simple answer

:smiley:

0 Likes

#4

Thank you :slight_smile
This was really helpful and simple.

0 Likes