










sub deleteSpecialChars() {

	my $del_badchar	= shift;
	$del_badchar = substr($del_badchar, 0, $MaxSearchStringLength);		

	$del_badchar =~ s/\"//ig;
	$del_badchar =~ s/`//ig;
	$del_badchar =~ s/\'//ig;
	$del_badchar =~ s/\?//ig;
	$del_badchar =~ s/\%//ig;
	$del_badchar =~ s/\$//ig;
	$del_badchar =~ s/\!//ig;
	$del_badchar =~ s/\"//ig;
	$del_badchar =~ s/\#//ig;
	$del_badchar =~ s/&//ig;
	$del_badchar =~ s/,//ig;
	$del_badchar =~ s/;//ig;
	$del_badchar =~ s/|//ig;
	$del_badchar =~ s/\\//ig;
	$del_badchar =~ s/\///ig;

	# $del_badchar =~ s///ig;

	# sql 
	$del_badchar =~ s/drop//ig;
	$del_badchar =~ s/insert//ig;
	$del_badchar =~ s/alter//ig;
	$del_badchar =~ s/flush//ig;
	$del_badchar =~ s/distinct//ig;
	$del_badchar =~ s/empty//ig;
	$del_badchar =~ s/select//ig;
	$del_badchar =~ s/truncate//ig;
	$del_badchar =~ s/update//ig;
	$del_badchar =~ s/tables//ig;
	$del_badchar =~ s/exec//ig;
	$del_badchar =~ s/system//ig;
	$del_badchar =~ s/cmd//ig;
			 
	return $del_badchar;
	
}; # function deleteSpecialChars() {
	