Notepad++ changing written format of text -
hey guys have bunch of information on 1 notepad jumbled , hoping guys me put , make in form of:
a,b,c,d a,b,c,d
where a,b,c,d can variables such name,fav food,skin colour,hair colour. or along lines.
right these variables in form of:
a b <sp> c <sp> d <sp> <sp> (and starts again in same format)
the <sp>
's stand space, didn't know how else annotate them comes empty line space...
is there way of converting other format?
in notepad++ go replace, , set extended mode.
- first replace
\n \n
(there whitespace in middle!),
replace lines space commas on same line. - then replace
\n\n
\n
remove empty lines left. - and replace
\n,' with
\n` remove leading commas. - lastly replace
,\n
\n
remove trailing commas
Comments
Post a Comment