Use Regular Expressions to Search and Replace in Coda or TextMate
As in the original post, I'd generated a list of node ID values, and needed to add structure the SQL update statment formatted in a certain way. However, I changed my inital query slightly to out put the same nid value twice.
{syntaxhighlighter brush: sql;fontsize: 100; first-line: 1; }SELECT nid, nid FROM node WHERE TYPE = 'blog' ORDER BY nid ASC;{/syntaxhighlighter}
