Delete comment from: Jeremiah Grossman
ron777 said...
J,
if possible, can you explain your regex:
$data =~ s/(<|>|\"|\'|\(|\)|:)/'&#'.ord($1).';'/sge;
or
$data =~ s/([^\w])/'&#'.ord($1).';'/sge;
Oct 29, 2007, 3:56:00 PM
Posted to Input validation or output filtering, which is better?

