@connor4312, what sort of duplication issues are you seeing? The new preg_replace method changes all instances of multiple periods into one single period.