Replace target.split match with target.match