Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Supprimer les espaces inutiles. Ce code permet de supprimer les successions de 2 espaces ou plus (\s+) en regex
$text –replace \s+ ,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment