I have a document with multiple lines. I want to replace the newline characters in the lines that don't end with numbers
Suppose the document is:
line1
line2
line
line
line
line4
I want to get
line1
line2
linelinelineline4
I can do this in sublime by replacing ([^\d])(\n) by \1. While trying this in sed it's not working. Can someone help me what's wrong in this? Thanks in advance