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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -