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