0

How to replace whitespaces contained into an expression itself contained into brackets, w ?

var str = "This is my text {an other text} and blabla {again again}...";

REGEX JS CODE TO GET

"This is my text {an_other_text} and blabla {again_again}..."

Thanks for any help

0 Answers0