Find and Replace with a delete

General questions about using TextPad

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

Post Reply
boopig
Posts: 1
Joined: Mon Jun 13, 2005 5:09 pm

Find and Replace with a delete

Post by boopig »

I have these CSV files that I need to strip out all the COMMAS from and want to know if after finding it, I could use something to DELETE the comma too?

-BP
David Haslam
Posts: 24
Joined: Wed Oct 01, 2003 2:24 pm
Location: United Kingdom
Contact:

strip out all the COMMAS

Post by David Haslam »

What's wrong about {F8} with Find="," and Replace="" ? (without the quotes!)

Or do you want the CSV fields aligned in columns?
Try Replace="\t" with Regular Expression ticked.

You can adjust the tab spacing for a [new] document class.
I once made my own document class called "Tab Separated Variables" (*.tsv) with tab-spacing=12 which did most if not all that I required at the time.
Best regards,

David F Haslam, MA, CEng, MIEE
Post Reply