Reverse, but only alphabets

Given a String, reverse all the alphabets, without affecting special characters

Sample Input
abcd^?ew!
Sample Output
wedc^?ba!

Login to submit your solution

Fb dab53a1a64929320dc7425896aa73fd9e5512b6ab52e414ff5f3ebb5cecc73eb

Share Problem