Page 1 of 1

Text into a single column of characters

Posted: Wed Jan 12, 2011 10:17 pm
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
.

Posted: Thu Jan 13, 2011 9:10 am
by ben_josephs
Search | Replace... (<F8>):
Find what: . [dot]
Replace with: \0\n

[X] Regular expression

Replace All

Posted: Thu Jan 13, 2011 8:19 pm
by ineuw
ben_josephs, many thanks.