PHP RegEx specify characters that I DO want?
Posted
by ShiGon
on Stack Overflow
See other posts from Stack Overflow
or by ShiGon
Published on 2010-05-18T01:49:50Z
Indexed on
2010/05/18
2:01 UTC
Read the original article
Hit count: 228
How would I strip out all characters from a string that does NOT contain: [a-zA-Z0-9-\/_] ?
In other words, I'd like to specify what I DO want rather than what I don't. Thanks.
© Stack Overflow or respective owner