how can we remove the text before the line starting with the second comma (line 5 in the example), how can I do this with regex? Example:
,
abc,xyz,ggg,nrmr
cde,jjj,kkkk,iiii,tem,posting
234,mm/dd/yy
,
454654,output2,sample
45646,output1,non-sample
16546,225.02
ABC,2.98
Expected:
454654,output2,sample
45646,output1,non-sample
16546,225.02
ABC,2.98
source
share