<!-- begin snippet: js hide: false console: true babel: false -->
                        
                        
                        
                        <!-- language: lang-js -->
                        
                        
                        
                            var myJSONObject = {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"};
                        
                                
                        
                            delete myJSONObject.regex;
                        
                        
                        
                            console.log ( myJSONObject.regex); // logs: undefined
                        
                        
                        
                        <!-- end snippet -->
                        
                        
                        
                        This works in Firefox and Internet Explorer, and I think it works in all others.