Created
April 29, 2015 10:25
-
-
Save kayasax/147b17dfc526d4f215c2 to your computer and use it in GitHub Desktop.
Supprimer les espaces inutiles.
Ce code permet de supprimer les successions de 2 espaces ou plus (\s+) en regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$text –replace ‘\s+ ‘, ‘ ’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment