// Function to replace email address in a specific DIV function replaceEmailAddress() { // Select the DIV with the specific class const targetDiv = document.querySelector('.employee-profile-card.is_vip.employee-fgilliam'); // Check if the DIV exists if (targetDiv) { // Get the innerHTML of the DIV let content = targetDiv.innerHTML; // Define the email addresses to replace const oldEmail = 'fgilliam@uncg.edu'; const newEmail = 'chancellor@uncg.edu'; // Replace the old email with the new email const updatedContent = content.replace(new RegExp(oldEmail, 'g'), newEmail); // Set the updated content back to the DIV targetDiv.innerHTML = updatedContent; } } // Call the function to perform the replacement replaceEmailAddress();