I have a PostgreSQL database with a information table containing comments about people.
An example is Mr X, born the 18/12/1953 in Y...
I would like change the date's format to ISO 8601 (YYYY-MM-DD) with a unique PostgreSQL request or method.
I know how to detect the dates in my database: '(\d{2})/(\d{2})/(\d{4})'.
What is the best way to replace using this pattern?
I thought about a regex_replace mixed with a split but it's seems too complicated, I'm sure there is a simpler way.
If someone has a good tip, I take it!
Thanks

regexp_replace?