Combining lines not starting with quote using Notepad++ regex -
i have csv text file looks this:
"1", "2", "3", text "4", "5", what trying combine lines don't begin quote. trying accomplish:
"1", "2", "3", text "4", "5", i can find results in following manner:
^[^"] but here problem. result letter "s" gets highlighted , want preserve letter , move next line. know going have use extended mode after regex search , replace.
some things note there many fields listed above. it possible there no carriage return before "some text" appears. there lot more fields, shortened simplicity sake.
any ideas?
use replacement:
\r?\n([^"]) or (as \r linebreak in notepad++)
\r([^"]) with
$1 the \r?\n matches linebreak, , ([^"]) captures symbol @ beginning of line not double quote. restore later getting captured text backreference $1.
settings:

Comments
Post a Comment