← back to Gated Queue Runner
strip 8-digit date stamps from titles
8fe25e631b8c923a304d769875db86bb2fcf3fd8 · 2026-08-18 13:15:11 -0700 · steve
Files touched
Diff
commit 8fe25e631b8c923a304d769875db86bb2fcf3fd8
Author: steve <steve@designerwallcoverings.com>
Date: Tue Aug 18 13:15:11 2026 -0700
strip 8-digit date stamps from titles
---
server.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/server.js b/server.js
index daf4c1c..66d0272 100644
--- a/server.js
+++ b/server.js
@@ -41,7 +41,8 @@ function cleanTitle(firstLine, fname) {
let t = fname.replace(/\.(md|csv)$/, '').replace(/[-_]/g, ' ');
t = t.replace(/\b20\d\d\s+\d\d\s+\d\d\b/g, '') // 2026 08 18
.replace(/\b20\d\d-\d\d-\d\d\b/g, '')
- .replace(/\b\d{6}\b/g, '') // stray 070926-style stamps
+ .replace(/\b\d{8}\b/g, '').replace(/\b\d{6}\b/g, '') // 20260818 / 070926-style stamps
+ .replace(/\bDRYRUN\b/gi, '')
.replace(/\bTK\s*-?\s*\d+\b/gi, '')
.replace(/\b(GATED|READY|DRAFT|DONE|PENDING|APPROVAL|VERIFIED|GO ?LIVE|GATE|memo|publish held|held)\b/gi, '')
.replace(/\s{2,}/g, ' ').trim();
← 638e70c fix categorization balance + title cleanup
·
back to Gated Queue Runner
·
real per-memo kid-summaries + checkbox selection → selected. 1a013f7 →