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