help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs regex to transform text of field1\nfield2\n into field1\tfield2\n


From: Angus Comber
Subject: emacs regex to transform text of field1\nfield2\n into field1\tfield2\n etc
Date: Sat, 16 Feb 2019 11:23:57 +0000

I have a text file of modem country codes like this:

T.35 Code
Country
00
Japan
07
Argentina
09
Australia
0A
Austria


But I want to transform the buffer to look like this:
T.35 Code Country
00              Japan
07              Argentina
09              Australia
0A              Austria

What regex would do that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]