removed extraneous replace

the regex replaces had one that was called twice, this shouldn't be needed.