strip.js 102 Bytes Raw Blame History Permalink 1 2 3 4 5 var stripRegex = /^\s*(.*?)\s*$/ module.exports = function(str) { return str.match(stripRegex)[1] }