learning regex is fun, or at least knowing it is. I'm relatively new to it, but I can tell you it's the best there is for form validation. That said, matching a white space doesn't require regex.
if (strpos($username_check, " ") && strpos($passwd, " ") && strpos($email_check, " ")){
// have...