Single line required from Multiple lines

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
RL11
Posts: 3
Joined: Wed Nov 18, 2009 8:10 am

Single line required from Multiple lines

Post by RL11 »

hello all,

Required:
1:2:3:4

way it is in textpad:
1:
2:
3:
4

P.S : the delimiter is ":"

If someone knows how to get this done using "F8", please pass on the command.

I had once searched and knew the command as well..I dont remember it now.So i am very sure that there is a command...

Thanks,
RL
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

You have posted this in the WildEdit forum but you refer to TextPad.

Assuming you are asking about TextPad:
Find what: :\n
Replace with: :

[X] Regular expression

Replace All
RL11
Posts: 3
Joined: Wed Nov 18, 2009 8:10 am

Post by RL11 »

oops...

i will post it in the right forum...
btw..thanks for the reply...

tried it!

all its doing is ..creating one extra line
like

1:

2:

3:

4:

i need things the otherway...
could you please think about it...

Thanks again
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

My suggestion does not add lines; it removes them. Please read it carefully and try again.
RL11
Posts: 3
Joined: Wed Nov 18, 2009 8:10 am

Post by RL11 »

Cool...

It worked...thanks mate :)

issue resloved
Post Reply