Write a program that has programmatic access for translating escape sequences in a text block. Consider that you have a text block containing embedded escape sequences and you have to pass it to a function that gets a string that must not contain such sequences.