mark blocks of text and delete white space

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
djehres
Posts: 4
Joined: Tue Jan 04, 2011 7:04 pm

mark blocks of text and delete white space

Post by djehres »

How do I delete white space thru out the document?

I have 10,000 lines like this:

102| 0137138600| 30817| EA| VPS| A| Not Serial Tracking|
102| 0137138600| 30817| EA| FTW| A| Not Serial Tracking|
102| 0137139100| 30817| EA| FTW| A| Not Serial Tracking|
102| 0137139100| 30817| EA| VPS| A| Not Serial Tracking|
102| 0137139200| 30817| EA| FTW| A| Not Serial Tracking|
102| 0137139200| 30817| EA| VPS| A| Not Serial Tracking|

And I want to delete the white space between the columns all at once to make it look like the below:


102|0137138600|30817|EA|VPS|A|Not Serial Tracking|
102|0137138600|30817|EA|FTW|A|Not Serial Tracking|
102|0137139100|30817|EA|FTW|A|Not Serial Tracking|
102|0137139100|30817|EA|VPS|A|Not Serial Tracking|
102|0137139200|30817|EA|FTW|A|Not Serial Tracking|
102|0137139200|30817|EA|VPS|A|Not Serial Tracking|


Is this possible?

thanks.
ben_josephs
Posts: 2459
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: |_ [Replace the underscore with a space]
Replace with: |

[ ] Regular expression [i.e., not selected]

Replace All
djehres
Posts: 4
Joined: Tue Jan 04, 2011 7:04 pm

Post by djehres »

Thanks.

Worked great.
Post Reply