I want a regular Expression which replaces a string with its respective character in descending order including number: i.e.
- replace a alphanumeric string with descending order string
- if special characters are found in sting keep the as it is
I means :
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
0 1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 0
Few examples:
1) ABC*1230 -> ZYX*8739
2) Hello World! -> Svool Dliow!
3) Good & Bad -> Tllw & Yzw