I have been breaking my head on this for sometime now. In javascript I have a string expression where I need to remove the spaces between \'[\' and \']\'.
For examp
You can use this
"[first name] + [ last name ] + calculateAge()".gsub(/\s+/, "")
This works in ruby