Reputation: 525
If I have:
bob\nwas\nhere
I would like RegEx to output:
*bob**was**here*
Where an asterisk was placed at the start and end of each line, and the new line character was removed.
I'm using JavaScript/jQuery.
Upvotes: 0
Views: 465