I have to below code in javascript to replace string:
var myString = "abc/mno"; var reg_exp = new RegExp(\'abc(/(.*))?$\'); var result = myString.re