Name: Anonymous 2007-10-26 20:08
Guys, how do I write a regex that makes sure that the WHOLE string has ONLY the following characters: A-Za-z01-9'"., etc.
What I wrote was...
/^[\d\w\s'"\.,]+$/
But it doesn't work when I try "test's testing" but works without 's... weird...
inb4 noob
What I wrote was...
/^[\d\w\s'"\.,]+$/
But it doesn't work when I try "test's testing" but works without 's... weird...
inb4 noob