deleting specific parts of a line
Posted: Mon Jul 02, 2012 1:40 pm
As a newbie, I've been trying to find some stuff on this but am bewildered!
I have a bunch of text files (200+) with tab-delimited data like that below (with \t added to show the tabs). Each file has up to 30000 lines of data all in the same format but I want to delete the Field with addresses ie the data I've highlighted in bold between tabs 8 and 9 (eg 65 Roads Ave H on line 1 and 25 Street 6 on line 2) across all the files.
I just can't work out the regex and I'd be very grateful for any suggestions. TextPad is great but their helpfiles do not help much! Thanks
Smith\tPeter\tM\t26020\t213\t300\t1\ta\t65 Roads AveH\t130556\tNorthern
Wilson\tJ M\tM\t20059\t214\t301\t2\tb\t25 Street 6\t130556\tWestern

I have a bunch of text files (200+) with tab-delimited data like that below (with \t added to show the tabs). Each file has up to 30000 lines of data all in the same format but I want to delete the Field with addresses ie the data I've highlighted in bold between tabs 8 and 9 (eg 65 Roads Ave H on line 1 and 25 Street 6 on line 2) across all the files.
I just can't work out the regex and I'd be very grateful for any suggestions. TextPad is great but their helpfiles do not help much! Thanks
Smith\tPeter\tM\t26020\t213\t300\t1\ta\t65 Roads AveH\t130556\tNorthern
Wilson\tJ M\tM\t20059\t214\t301\t2\tb\t25 Street 6\t130556\tWestern