javascript - how to remove all special characters from a string, java script -
i have multiline string like
"abc: xxxx bcd: yyyyy {'abc': 'bcd'}" now when re-create buffer, special characters added, "\n\t" etc, how can remove special characters in java script?
regards, -m-
\n representation new line, \t tabs - if still wish multiline need leave them alone.
javascript
No comments:
Post a Comment