How to insert a new line between 2 specific characters

Viewed 1803

Is there anyway to insert new lines in-between 2 specific sets of characters? I want to insert a new line every time }{ occurs in a text file, however I want this new line to be inserted between the 2 curly brackets. For example }\n{

2 Answers
Related