Multiple RegExp Replace

Hi Guys, Sending a pull request for the changes I did on this.

Thanks,

Carl