I've been struggling with this all day long....

My shopping cart provides a tab-delimited file of 90,000 + products we
sell, to upload to Google Product Search. I'm trying to edit the 11th
column "Categories>SubCategoryOne>SubCategoryTwo", leaving only the
last "SubCategory" which could be the 4th or 5th SubCategory.

The lines look like this:

ProductLinkURL  ImageFileURL    MinimumQuantity BrandName       IDNum   NEW
ExpDate DealerName      PartSKU ProductName     ProductDesc
MainCategory>SubCategoryOne>SubCategoryTwo>SubCategoryThree
ResellPrice     WholesalePrice  ShipPrice       TaxPrice        MfrPartID

I've mangled this pattern together, which finds from the beginning of
the line to the 10th tab: (^(.+?\t){10})((.+?\t){1})

What I need is to select from the 10th tab character to the last >
character, and delete.

Any assistance is appreciated.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to