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
If a subexpression of a regex is parenthesised, the text it matches is captured and can be used in the replacement. The parentheses are numbered from left to right by the position of their left parenthesis symbols. In the replacement expression, \1 represents what was captured by the first parenthesised expression, \2 represents what was captured by the second, and so on.