Reputation: 8641
I suck at regular expressions and what to do a simple find and replace of '}'
to '} /n'
notepad++ can recongise what I'm after as it has the 3 options of normal find and replace, special chars and full regex. I however only ever used to option two. How can I enable special characters in my search using sublime text 2.
Cheers
Upvotes: 1
Views: 5437
Reputation: 3555
Joe,
In sublime you can use find & replace. Drag the replace panel large enough and use cmd + enter to go to a new line.
Hit replace all:
And thats it your sorted chap
Upvotes: 2
Reputation: 49919
If you want to replace }
within notepad++ with } \n
you can use the following rules:
}
} \n
Extended (\n, \e...)
Upvotes: 0