diff --git a/seed_data/storyCleanup.js b/seed_data/storyCleanup.js index c216e67293..2598526c8a 100644 --- a/seed_data/storyCleanup.js +++ b/seed_data/storyCleanup.js @@ -18,8 +18,8 @@ function storyLinkCleanup(cb) { console.log(i++); this.pause(); story.storyLink = story.storyLink. - replace(/\s+/g, ' '). replace(/[^a-z0-9\s]/gi, ''). + replace(/\s+/g, ' '). toLowerCase(). trim(); story.save(function (err) {