Using regex instead of jquery to clean up notifications.