Could any one suggest code to remove mentioned special characters: []{}<>
Code inside the JavaScript tags:
var name="formattting[]{}<>";
rename = name.replace(/[<{>}([)]/g,"");
Output:
formattting]
Here out of six special symbols, five symbols are removed and now my concern is to remove the special character ]
.