Explode string by one or more spaces or tabs October 18, 2022 by Tarik $parts = preg_split('/\s+/', $str);