I have a situation where I need to eliminate the text "(2012)" from a particular div using jQuery. Here is the code snippet that I am currently using:
var el = $("#myDiv");
//replace(/word to remove/ig, "");
el.html(el.html().replace(/(2012)/ig, ""));
The current code does a good job of getting rid of "2012", but it leaves behind the brackets (). How can I modify the jQuery code to include the parentheses in the removal process?