Fix regular expression

Fix regular expression so that it doesn't replace "n" in the address string.