Skip to content

Instantly share code, notes, and snippets.

@nuriye
Created September 16, 2019 11:15
Show Gist options
  • Save nuriye/64868121863b12fa57c1274f382dedbc to your computer and use it in GitHub Desktop.
Save nuriye/64868121863b12fa57c1274f382dedbc to your computer and use it in GitHub Desktop.
$str = preg_replace('/\s+/', '', $str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment