Hi Ramu,
Though you have dynamic strings or static strings, they will be having patterns and check if the pattern contains any alphabets. If so get the offset of string then and numbers into 2 strings. Reverse the number and concatenate to final string.