Strip whitespace
Validate code