Goal Parser Interpretation

EasyString

Solution

export function interpret(command: string): string {
  return command.replace(/\(\)/g, 'o').replace(/\(al\)/g, 'al');
}