Can your text editor do THIS?

Can your text editor do THIS?

Most of them can
Search & Replace -> "_ with ",_ (space instead of underscore, substituted for visibility)

Pretty sure about every text editor with regex replacement (=about every text editor) can do this.

Then again, I'd rather row select + pressing "," four times and then pretty print everything.

That wouldn't work. It would put a comma after the name as well as health.

what text editor is that?

Vim on an 486.

you're a retard

you'd have to use regex to do it properly

Regex Find: "([0-9\-]+)"_
Replace: "\1",_

(spaces instead of underscores)

nah, you have to take into account that the last literal doesn't get a comma, for example by looking at the following "

Yes

t. textadept

not in this case, no

All of them get commas though.

1,$s/" /", /

/thread

He only added the comma after the strings in the first 3 columns you dumb fucking nigger indian pajeet

well then use a regex lookahead to fix it you nig

Why wouldn't I have the commas there already when I first wrote each line?

You mean a regex query replace?

see the thread

You dumb stupid nigger turbo pajeets cannot for the life of you spot a pattern.
>last literal doesn't get a comma
The last literal is also the only one that does not have a number directly before the closing double quote. Go back to fucking kindergarten

that is a very slow terminal

Even fucking notepad++ has this.
My editor can set all the commas at once, without going through all these lines. (I just have to click where it has to go before)
Stupid thread is stupid.

>using a graphical WM

GET OUUUUT

yes because it's fucking vim


the winning team

Yes, it's very easy on emacs to record a macro

ctrl+x (
do your thing
ctrl+x )
ctrl+x e
OR
ctrl+u # of times ctrl+x e