You are here: PSPad forum > English discussion forum > Wish: Better RegEx engine for Pv5

Wish: Better RegEx engine for Pv5

#1 Wish: Better RegEx engine for Pv5

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

With "phreplace.dll"
I am able to search for "^;;.+\r\n.+?$"

to find all line, starting with ';;'
following by the next line.

.

So I could
Search: ^(;;.+)\r\n(.+?)$
Replace: $1 $2
to join two lines.

.

For example:
;;Translate Encoding
mEncoding_Caption=Kodierung

TO
;;Translate Encoding mEncoding_Caption=Kodierung

.

Would be nice if PSPad v5 could do this on its own (without using a script).
I just wanted to search for "^;;.+\r\n.+?$" and click [Copy].

.

.

.

--
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 ^






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