This module removes valid filename paths from input string (filenames are kept).
'npm install nopaths'
var nopaths = require('nopaths');
var somePath = 'Hey, /home/username/Documents/sweet.txt was not touched!';
nopaths(somePath) === 'Hey, sweet.txt was not touched!'; //true, if /home/username/Documents/ exists
'npm test'