i receive a string that i want to clean from some word, i tried to make a function for that but it doesn't work :
export const cleanArrondissements = async (city) => {
  const arrondissements = [ 'Arrondissement', 'arrondissement', '1er','2e','3e', '4e', '5e', '6e', '7e', '8e', '9e', '10e','11e','12e','13e','14e', '15e', '16e', '17e', '18e', '19e', '20e']
  arrondissements.forEach(element => {
    city.replace(element, '')
  });
  return city;
}
what would be the best way to do that ?
 
     
    