SANJAY
SANJAY

Reputation: 21

RegEx for adding "\n\n" " 2 new line" when I found "\n"

My scenario is:

alleyway\n behind the venue\n. The young agent never\n\n.

I have a paragraph. And I want to add \n only when I find \n. ex. in above sentence I want "venue\n\n".

Upvotes: 0

Views: 21

Answers (0)

Related Questions