I m trying to replace some values from a date but it only change the first found value.

```
var date= cars.getAttribute("myLastDate");
var dateChanged= date.replace("/", ",");
alert (dateChanged);

```

Best regards.