reverse the alphabets without changing number and special characters in a string java
I am new to Java. My question is, suppose if I have a string as "rs600.666hy" then I need to reverse only the alphabets without changing its position.
Input : Rs300.00it output : sR300.00ti
input: 899.40 output: 899.40