Meta interview question

Replace a string in email LC question