Strips characters for submitted form before using it.