preg_grep('/^\S+$/', $input); ----------------------------------------------------------------------------- Copyright 1997-2025 Jeffrey Friedl