Text into a single column of characters

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
ineuw
Posts: 191
Joined: Sun Mar 18, 2007 3:23 pm

Text into a single column of characters

Post by ineuw »

Embarrassed to admit that after all these years of TP use, I haven't mastered RE, as I should have. I need to convert paragraphs/pages of text into a single column of characters for sorting. (The result will be discarded) Is this possible using Search & Replace and RE? - Example: Hello world.

H
e
l
l
o

w
o
r
l
d
.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Search | Replace... (<F8>):
Find what: . [dot]
Replace with: \0\n

[X] Regular expression

Replace All
User avatar
ineuw
Posts: 191
Joined: Sun Mar 18, 2007 3:23 pm

Post by ineuw »

ben_josephs, many thanks.
Post Reply