Created
August 3, 2017 05:46
-
-
Save beardlessman/220b3f761afb18b86bb696aa0f5ab6d0 to your computer and use it in GitHub Desktop.
Убирает табы/лишние пробелы в строке
This file contains hidden or 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
| string.replace(/\s{2,}/g, ' '); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment