I am having a field in a table with type varchar and their value looks similar to
- red-chief-men-245-brown-94581
- adidas-men-agora-93945
- kids-shoes
In this i need to get only values that ends with hypen followed by integer ex ("-94581" , "-93945") ..
Is there any way in mysql to get that
Xchars from end of string