unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs regex to transform text of field1\nfield2\n into field1\tfield2\n etc
@ 2019-02-16 11:23 Angus Comber
  2019-02-16 11:51 ` Angus Comber
  0 siblings, 1 reply; 3+ messages in thread
From: Angus Comber @ 2019-02-16 11:23 UTC (permalink / raw)
  To: Emacs Help

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-16 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-16 11:23 emacs regex to transform text of field1\nfield2\n into field1\tfield2\n etc Angus Comber
2019-02-16 11:51 ` Angus Comber
2019-02-16 16:16   ` Eric Abrahamsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).