EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

split lines?

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
cpb



Joined: 11 Oct 2006
Posts: 2

PostPosted: Wed Oct 11, 2006 7:27 pm    Post subject: split lines? Reply with quote

find/replace doesn't seem to allow for
replacing spaces with newlines. tried
replacing \s with \n on all text but this
resulted in '\n' characters being inserted
into the first space ...
is there another way to do this?

-cpb
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Thu Oct 12, 2006 4:46 am    Post subject: Reply with quote

Find text: [\x20\t]+
Replace text: \n

+ Regular expressions
+ Replace with template

Michael.
Back to top
View user's profile Send private message Send e-mail
cpb



Joined: 11 Oct 2006
Posts: 2

PostPosted: Wed Oct 25, 2006 5:22 pm    Post subject: Reply with quote

perfect. thanks!

-cpb
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group