Hi for the below javascript I want a regex which will replace all instances of left square bracket with \Left square bracket ,right square bracket with \ plus right square bracket or full stop with a \ dot
<script type="text/javascript" type="text/javascript">
$(document).ready(function () {
var someId = '#Something[0].AnotherSelected[5].Validator';
alert(s);
});
</script>