This question is an exact duplicate of:
i have column having multiple value like A0045 ,A00065 . i want to convert it 9945, 9965. Need to remove all 0 and character value and add 99 before that value.. replace(val,"A","99") will replace only A I want to go for A-Z occurrence.. Any char should be convert .. Please help
How about
This should take all leading alpha and zero characters from the string, and prefix with
99
.