You are here: PSPad forum > English discussion forum > Add line break to string
Posted by: cornelisdigitaal | Date: 2018-03-14 16:47 | IP: IP Logged
I have searched for hours, but cannot seem to find the right answer.
I tried to search and replace (with regular expressions turned on):
string
by:
\nstring
to get it on the next. PSPad is busy for a while and then comes up with "Error in search expression".
How do I get "string" to the next line?
Cheers!
Posted by: Andreas | Date: 2018-03-14 17:18 | IP: IP Logged
Position your cursor in first line first character (Strg+home). In Find&Replace activate regex. Activate "backwards". Search for "string" and replace with "\nstring".
Or use the addon "phreplace". With this you don't need "\n". Simply use an "enter".
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