Removing Trailing Commas with TextMate

By peterm, 4 February, 2010

Tags

 I finally got bugged by not having enough automation in text processing for the TPP project. In TextMate, I edited the Text bundle duplicating the remove Trailing Spaces and creating a remove Trailing Commas. It's a simple perl expression, perl -pe 's/[\,, ]+$//g'.

Huge time savings. One click vs scanning through the file for commas. More to follow on TextMate modifications.