Created
June 21, 2012 01:59
-
-
Save lydonchandra/2963417 to your computer and use it in GitHub Desktop.
WebStorm Search and Replace newline with backslash and newline
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
WebStorm Search and Replace newline with backslash and newline | |
Text to find: \n | |
Replace with: \\\\\n | |
Regex on. | |
Results: | |
var xml = '<node1>\ | |
<node2></node2>\ | |
</node1>'; | |
Input: | |
var xml = '<node1> | |
<node2></node2> | |
</node1>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment