Used replace instead of split,join