LeetCodeDecrypt String from Alphabet to Integer MappingDecrypt String from Alphabet to Integer MappingEasyStringSolution export function freqAlphabets(s: string): string { const decrypt = (chars: string) => { const code = parseInt(chars.replace('#', '')) + 96; return String.fromCharCode(code); }; return s.replace(/(\d\d#|\d)/g, decrypt); }LeetCodeDecrypt String from Alphabet to Integer Mappinghttps://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping