Scripting Games 2008 Sudden Death Challenge Event 9
As the Scripting Guys note here Event 9 Solution , this was a simple event, biggest part of the code is the filename.
(gc c:\scripts\Symbols.txt) -replace '[^\w\s]|_',''
Only issue I had is as I use \w (word characters) and this also included the underscores I had to remove them also with an OR in the regex.
*Update* I did think just after posting, that it could even be shorter, as we replace by an empty string we can just leave it out completly another 3 chars less :
(gc c:\scripts\Symbols.txt) -replace '[^\w\s]|_'
The 2008 Winter Scripting Games
without spaces back to 46 chars :
"(gc c:\scripts\Symbols.txt)-replace'[^\w\s]|_'".length
46
Enjoy,
Greetings /\/\o\/\/