Rocket Lawyer Interview Question

Escreva uma função que "parseie" strings e substitua certas palavras.