In my mysql my address field has data such as:
"5 rue de la Paix, 75000 Paris"
I need to extract the postal code (5 digits always)
\d{5}
and put it into the 'cp' field
Is such thing possible in mysql or must I do a php function for that ?
update data set cp='...