You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.4 (2331) English

PSPad unicode 4.5.4 (2331) English

Goto Page: Previous1 2 3 4 5 6 7 8 9

#81 Re: PSPad unicode 4.5.4 (2331) English

Posted by: spawnua | Date: 2008-11-21 11:44 | IP: IP Logged

I have a file with string of comma-separated words like "word1, word2, word3,...", and I want to replace all commas with end-of-line symbol (\n). Can't do that in "Regular expressions" mode.

Edited 1 time(s). Last edit at 2008-11-21 11:50 by spawnua.

Options: Reply | Quote | Up ^


#82 Re: PSPad unicode 4.5.4 (2331) English

Posted by: vbr | Date: 2008-11-21 12:35 | IP: IP Logged

spawnua:
I have a file with string of comma-separated words like "word1, word2, word3,...", and I want to replace all commas with end-of-line symbol (\n). Can't do that in "Regular expressions" mode.

There is a limitation in the editor component of PSPad; in your case, you can use a backward replace (after setting the cursor at the end of the text) - and use a backward direction with RE replace , >> \n

Or you can try the script addons for more complex multiline search and replace; see e.g.:
forum.pspad.com

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 5 6 7 8 9





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