I have an articles table and I need to add the year to the name
Before
Bicicleta rodado 20", freestyle Mirraco Blend
Bicicleta rodado 20", freestyle Mirraco Blend (azul)
Bicicleta rodado 20", freestyle Mirraco Blend (negro)
Bicicleta rodado 20", freestyle Mirraco Blink
Bicicleta rodado 20", freestyle Mirraco Blink (blanco con azul)
Bicicleta rodado 20", freestyle Mirraco Blink (marron)
Bicicleta rodado 20", freestyle Mirraco N°7
Bicicleta rodado 20", freestyle Mirraco N°7 (negro con blanco)
Bicicleta rodado 20", freestyle Mirraco N°7 (purpura con blanco)
After
Bicicleta rodado 20", freestyle Mirraco Blend 2010
Bicicleta rodado 20", freestyle Mirraco Blend 2010 (azul)
Bicicleta rodado 20", freestyle Mirraco Blend 2010 (negro)
Bicicleta rodado 20", freestyle Mirraco Blink 2010
Bicicleta rodado 20", freestyle Mirraco Blink 2010 (blanco con azul)
Bicicleta rodado 20", freestyle Mirraco Blink 2010 (marron)
Bicicleta rodado 20", freestyle Mirraco N° 7 2010
Bicicleta rodado 20", freestyle Mirraco N° 7 2010 (negro con blanco)
Bicicleta rodado 20", freestyle Mirraco N° 7 2010 (purpura con blanco)
The rule would be to add the year before the parenthesis. And if there is no parenthesis, add it at the end. It can't be counting word because the count is not always the same (N° 7 in this particular case)