regex - Regular expression to merge two lines -
i'm trying find regular expression merge second , third lines. there's no space after each line (only \r\n). can lines start letters merge them line above, force me match first letter , lose after replacing. there way around that?
10921,experimental violation of cluster state bell inequality,2005,0,8570,? 10922,"capital budgeting , compensation asymmetric information , moral hazard",2000,0,19530,?
for merging 2nd , 3rd line can try matches newline option
(^.*?[\r\n]+.*?)[\r\n]+(.*)$
replace
\1\2
Comments
Post a Comment