Change useless tr to gsub
Merge pull request #9586 from robertomiranda/useless_tr

Change useless tr to gsub