Attached is a little example I put together that uses a javascript regular expression to strip all characters that aren't on a 'whitelist' and here's the javascript for easy copypasting (goes in an $eval) "{1}".replace(/[^a-zA-Z 0-9\-_\`\~\!\@\#\$\%\^\&\*\(\)\.\,\:\;\?\']+/g,"");
{1} being your scraped data variable strip_crazy_characters.ubot