O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
If you want to strip a string of characters that aren't valid in Windows filenames use the following regular expression to accompish the task.
Regular expression[\\/:"*?|]+
Reg...