You are here: PSPad forum > English discussion forum > Merge text in a txt file

Merge text in a txt file

#1 Merge text in a txt file

Posted by: Esgrimidor | Date: 2017-03-09 14:02 | IP: IP Logged

Sometimes when copy/pasting a pdf file the resulting text is splitted from the original

How can I merge the resulting text according to the periods in the text. (Reconstructing phrases)

For example:

a
s
u
n
t
o

especial en cada caso.

Toda
vía
existen muchas opciones
y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada
caso
es
un
caso
aparte.

The final result may be :

asunto especial en cada caso.
Todavía existen muchas opciones y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada caso es un caso aparte.

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#2 Re: Merge text in a txt file

Posted by: vbr | Date: 2017-03-09 15:12 | IP: IP Logged

Hi, for such reconstruction, you can partly use "join lines", i.e. replace linebreaks with spaces
Edit: Lines manipulation: Join lines

Howewer, you will have to edit the text manually afterwards to delete the spaces between characters of some words and also insert linebreaks as needed.
hth,
vbr

Options: Reply | Quote | Up ^


#3 Join lines in a txt file

Posted by: Esgrimidor | Date: 2017-03-10 13:28 | IP: IP Logged

I tried join lines manually

This was the result :

a s u n t o especial en cada caso.
Toda vía existen muchas opciones y cada una de ellas más simple.
En todo caso es posible hacerlo.
Cada caso es un caso aparte.

In the word a s u n t o how can I convert to asunto ?

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#4 Re: Join lines in a txt file

Posted by: Stefan | Date: 2017-03-10 13:31 | IP: IP Logged

Esgrimidor:
In the word a s u n t o how can I convert to asunto ?

Move the cursor to the wanted space, then press the DEL key.
Move on with every space you want to remove.

.

No one else can know which space to remove and which not.

.

.

--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#5 Re: Join lines in a txt file

Posted by: Esgrimidor | Date: 2017-03-11 18:40 | IP: IP Logged

Nice to recognize you in the forum. I am contro as you know in the other.

Thanks a lot for your answer.

Best Regards.
smiling smiley

--
Nice program indeed

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR